From a2e767e164cb1e8859a30078c89df25e1f611f38 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 15 Feb 2015 12:31:57 +0100 Subject: Initial import of own zshrc files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They depend on grml’s zshrc. Signed-off-by: Thomas Schneider --- dot.zshrc.local | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dot.zshrc.local (limited to 'dot.zshrc.local') diff --git a/dot.zshrc.local b/dot.zshrc.local new file mode 100644 index 0000000..65aae4c --- /dev/null +++ b/dot.zshrc.local @@ -0,0 +1,14 @@ +. ~/.zshrc.from_grml +prompt grml +zstyle :prompt:grml:left:items:percent pre ' +' +(( $+commands[bsdtar] )) && alias tar=bsdtar || echo "bsdtar not installed" +alias g=git +alias hl="highlight -O ansi" +#export PATH="${PATH}/usr/sbin:/usr/local/sbin:/sbin" +export PATH="${HOME}/.cabal/bin:${PATH}" +export SVN_SSH="ssh -i /home/qsuscs/.ssh/id_rsa_subversion" +ssh-add -l +function countdown { + ENDTIME=$(date -d "$1" +%s) watch -b -e -n 1 -x sh -c 'DIFF=$(($ENDTIME - $(date +%s))); echo $(($DIFF / 60)) min $(($DIFF % 60)) s; if [ $DIFF -lt 1 ]; then exit 1; fi' +} -- cgit v1.2.3