mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 08:08:32 +01:00
Some experimental changes to ssh
This commit is contained in:
7
zshrc
7
zshrc
@@ -232,6 +232,13 @@ if [[ $HOST =~ faui* ]]; then
|
||||
fi
|
||||
|
||||
### Experimental ###
|
||||
alias unfuck="printf '\033]708;black\007'"
|
||||
ssh_func(){
|
||||
printf '\033]708;red\007';
|
||||
ssh $@;
|
||||
printf '\033]708;black\007'
|
||||
}
|
||||
alias -g ssh="ssh_func"
|
||||
alias hs='eval $(cat ~/.config/zshhistory.log | peco)'
|
||||
alias cfind='print -z $(cat ~/.config/zshhistory.log | peco)'
|
||||
hhs(){print -z "$(cat ~/.config/zshhistory.log | peco)"}
|
||||
|
||||
Reference in New Issue
Block a user