From c70bc67f9601b49e79cf124b5b76ad234cfaf9f7 Mon Sep 17 00:00:00 2001 From: atlantispc_sheppy Date: Mon, 29 May 2017 14:25:56 +0200 Subject: [PATCH] Some experimental changes to ssh --- ssh/config | 2 ++ xconf/Xresources | 6 ++++++ zshrc | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/ssh/config b/ssh/config index 332ea13..20df1e0 100644 --- a/ssh/config +++ b/ssh/config @@ -1,3 +1,5 @@ +Host atlantismedion + IdentityFile ~/.ssh/atlantismedion Host gitlab.cs.fau.de IdentityFile ~/.ssh/gitrsa Host *.fauiwg.de diff --git a/xconf/Xresources b/xconf/Xresources index b1b8c94..38901ac 100755 --- a/xconf/Xresources +++ b/xconf/Xresources @@ -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 diff --git a/zshrc b/zshrc index efb00ac..68a0f90 100644 --- a/zshrc +++ b/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)"}