From ebdc59f0f18883771f2328ee28bf73f46dcac9fd Mon Sep 17 00:00:00 2001 From: Sheppy Date: Sat, 1 Apr 2017 13:18:55 +0200 Subject: [PATCH] added quickfind alias/function and moved pcolor to gerneal --- zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index d874c2d..39bfb89 100644 --- a/zshrc +++ b/zshrc @@ -88,9 +88,13 @@ if [[ $HOST =~ atlantis* ]]; then alias x='startx' else - alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done' alias telegram='/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub' fi +alias rehash="source ~/.config/zshrc" +function qfind { + find . -name "$1" +} +alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done' alias "ipconf"="ip addr show" ## General ##