From ee1b3b2d041b06844bd18189511c58dc42a0884e Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 30 May 2015 14:06:31 -0700 Subject: [PATCH 1/5] quick fix --- home/zshrc | 2 ++ ssh/known_hosts | 1 + 2 files changed, 3 insertions(+) diff --git a/home/zshrc b/home/zshrc index e597b51..ade8db5 100644 --- a/home/zshrc +++ b/home/zshrc @@ -103,6 +103,8 @@ bindkey '^[[B' history-beginning-search-forward-end # down bindkey '^[OA' history-beginning-search-backward-end # up bindkey '^[OB' history-beginning-search-forward-end # down +bindkey '^[[3~' delete-char + bindkey ';5D' emacs-backward-word # ctrl+left bindkey ';5C' emacs-forward-word # ctrl+right bindkey ';3D' dirprev # alt+left diff --git a/ssh/known_hosts b/ssh/known_hosts index 09d3a4f..85973cc 100644 --- a/ssh/known_hosts +++ b/ssh/known_hosts @@ -13,3 +13,4 @@ gist.github.com,192.30.252.143 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9t 192.30.252.131 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== 213.133.100.188 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqv7Ooz6L/NOLV8VF4fl0KzBZ+9InTEKap05GcLXPqTzfC4toFH8TvBPkjNPZB+E0IAFB6pHnYjXdT4Ja4Mh5WBDHZSLy8g2lysLJeCs48YfOuwGI5E3t4S+dxT2JZIi1JyekXJU4tm7gNsqTSLYnMikigptaklCTBM+rWNE2am4lFY5FAu0UVBfQL7PkK11Uvd84ckMDzrUVTiSx9u4VHTju7+5Gji4y3ldk2/w9AleFX2SPvef4CkTKcHy80aCtEzGH85d/0O52Qyf6qDvkeD5tY2QhitFPZoSt12yAi7X5xZZTJZC/izn/wtSrDeajYHcr6rGunBaujxG94pO0Gw== 192.30.252.130 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== +banshee,192.168.2.142 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDgaxMhHDd9I6bVB7H9QCdOU4BfcUagMuE4yyBDi4MekySvc/twTjl+v2lNc5N1S5K0D7QEH59AHtOogPSkSNlo= From 0fcb0f23fed1e122ae426f0186248b73a67f214b Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 2 Jun 2015 06:08:25 -0700 Subject: [PATCH 2/5] rsync crap --- home/-shrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/-shrc b/home/-shrc index 7bef698..78e7314 100644 --- a/home/-shrc +++ b/home/-shrc @@ -83,6 +83,7 @@ alias gds='git --no-pager diff --stat' alias gl='git log --oneline' alias gs='git status' # rip ghostscript alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj" +alias clone='sudo rsync -aHA --info=progress2' # providing extra functionality # TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag From c68c2d57f3ecc9ce84fd496b519a54c1f02d3db9 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 10 Jun 2015 21:32:14 -0700 Subject: [PATCH 3/5] check for z --- home/-shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/-shrc b/home/-shrc index 78e7314..6ed4cfb 100644 --- a/home/-shrc +++ b/home/-shrc @@ -108,7 +108,7 @@ function trash() { dd status=none if=/dev/random bs=1 count="$1" } -. ~/sh/z/z.sh +[ -e ~/sh/z/z.sh ] && . ~/sh/z/z.sh # awful things # i should really write a ladspa plugin that does this all at once and From 578c8d6b88e5c8f1d2bbbff2d7ee5a590db4c86e Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 10 Jun 2015 21:37:38 -0700 Subject: [PATCH 4/5] remove known_hosts 'cause it got annoying --- ssh/known_hosts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 ssh/known_hosts diff --git a/ssh/known_hosts b/ssh/known_hosts deleted file mode 100644 index 85973cc..0000000 --- a/ssh/known_hosts +++ /dev/null @@ -1,16 +0,0 @@ -crawl.develz.org,46.4.68.88 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqv7Ooz6L/NOLV8VF4fl0KzBZ+9InTEKap05GcLXPqTzfC4toFH8TvBPkjNPZB+E0IAFB6pHnYjXdT4Ja4Mh5WBDHZSLy8g2lysLJeCs48YfOuwGI5E3t4S+dxT2JZIi1JyekXJU4tm7gNsqTSLYnMikigptaklCTBM+rWNE2am4lFY5FAu0UVBfQL7PkK11Uvd84ckMDzrUVTiSx9u4VHTju7+5Gji4y3ldk2/w9AleFX2SPvef4CkTKcHy80aCtEzGH85d/0O52Qyf6qDvkeD5tY2QhitFPZoSt12yAi7X5xZZTJZC/izn/wtSrDeajYHcr6rGunBaujxG94pO0Gw== -192.168.2.185 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1EqYb6dE+7BY7os3DvBRxMthGr0pQjwOMNDZWPs76CseGFyLyeOkb7tphNwPbUCOxP+baaU39loDfaQRSDXMk= -crawl.akrasiac.org,204.140.17.55 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLsNcOQNRhGyjh3lRgl/ewlIWotrEirp9IiplbqgsCzz7kQ5EuATAvptohsC4/j1wt6q8U1LCyYK3kLuoNDcPvA= -localhost ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1EqYb6dE+7BY7os3DvBRxMthGr0pQjwOMNDZWPs76CseGFyLyeOkb7tphNwPbUCOxP+baaU39loDfaQRSDXMk= -204.232.175.90 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== -phantom,192.168.2.185 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmoGFPzXsHCy37gNSkOn89Zc9MiZh6BnJEQnIbUfVD1dl2mv6IEEk7O6TEHRisK5mllQdWwo+auhI1/jHK6yq4J8HFFHlI7s/kacihWMM9+FuioLnVdBZk7Us4X4CTcfbDYuQ5Z9RgTr5YZKg7BD3qHQZRam/894mC0wolZUEnA1UenPE4HueYKmiWRWHswoRo2oYH326Z1/TKPxTCEnig6Br7cDGOGNogY+FzMRYUSdIx0gqNLZzmOBNZAzi40yHv/VE487IXX/mIB+YKarvsKQ3b/lzitEiWXNBI69wX18OTjjsLIrQVFhh7KKIYmn/GQVSqV4RZKHwrO8p/NRFr -github.com,192.30.252.129 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== -gist.github.com,192.30.252.143 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== -192.30.252.142 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yV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itFPZoSt12yAi7X5xZZTJZC/izn/wtSrDeajYHcr6rGunBaujxG94pO0Gw== -192.30.252.130 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== -banshee,192.168.2.142 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDgaxMhHDd9I6bVB7H9QCdOU4BfcUagMuE4yyBDi4MekySvc/twTjl+v2lNc5N1S5K0D7QEH59AHtOogPSkSNlo= From 462d9a104d1b239b884c064e66efd42cb699fdb9 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 19 Jun 2015 12:47:39 -0700 Subject: [PATCH 5/5] another hostname another color --- home/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/zshrc b/home/zshrc index ade8db5..2f925b3 100644 --- a/home/zshrc +++ b/home/zshrc @@ -137,6 +137,7 @@ fi function { local good='green' [[ "$HOST" == "banshee" ]] && good='cyan' + [[ "$HOST" == "spectre" ]] && good='white' PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k ' RPROMPT='%8F%h%b' }