From da0fe38fcea7ef73c0d5a06a05d1669c32c65c8e Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 20 Feb 2010 17:35:58 +0100 Subject: zshrc: switch to gpg2, and other file cleanup --- zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 96dadaa..4dcd78b 100644 --- a/zshrc +++ b/zshrc @@ -77,7 +77,7 @@ alias retract='eject -t -v ' alias vuser='fuser -v ' alias ping='ping -c 5' alias more='less' -alias mc='. /usr/share/mc/bin/mc-wrapper.sh -x' +alias mc='. /usr/lib/mc/mc-wrapper.sh -x' alias links='links ~/.links/startpage.html' alias cplay='cplay -v' alias xtr='extract' @@ -91,8 +91,8 @@ alias iodrag='ionice -c3 nice -n19' alias spell='aspell -a <<< ' alias ec='emacsclient -a emacs -n ' alias ect='emacsclient -a emacs -t ' -alias gpgd='gpg --decrypt' -alias gpge='gpg -ear anrxc' +alias gpgd='gpg2 --decrypt' +alias gpge='gpg2 -ear anrxc' alias keyshare='synergys -f --config /etc/synergy.conf' alias xpop='xprop | grep --color=none "WM_CLASS\|^WM_NAME" | xmessage -file -' # }}} @@ -182,7 +182,7 @@ function extract () { *.gz) gunzip "$1" ;; *.7z) 7z x "$1" ;; *.Z) uncompress "$1" ;; - *.gpg) gpg -d "$1" | tar -xvzf - ;; + *.gpg) gpg2 -d "$1" | tar -xvzf - ;; *) echo "Error: failed to extract '$1'" ;; esac else -- cgit v1.2.3