Some experimental changes to ssh

This commit is contained in:
atlantispc_sheppy
2017-05-29 14:25:56 +02:00
parent 7faa76a285
commit c70bc67f96
3 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
Host atlantismedion
IdentityFile ~/.ssh/atlantismedion
Host gitlab.cs.fau.de
IdentityFile ~/.ssh/gitrsa
Host *.fauiwg.de

View File

@@ -4,3 +4,9 @@ URxvt.*.scrollBar: off
URxvt.print-pipe: true
URxvt.perl-ext-common: selection-to-clipboard
!experimental
!URxvt*externalBorder: 3
!URxvt*borderLess: false
!URxvt*internalBorder: 5
!URxvt*borderColor: red

7
zshrc
View File

@@ -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)"}