From: Michael Prokop Date: Sat, 15 Sep 2007 08:44:30 +0000 (+0200) Subject: /etc/zsh/zshrc: unalias utf2iso and iso2utf only it it is set X-Git-Tag: 0.3.25 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=refs%2Ftags%2F0.3.25;p=grml-etc-core.git /etc/zsh/zshrc: unalias utf2iso and iso2utf only it it is set --- diff --git a/debian/changelog b/debian/changelog index e96c0d9..4a01ec4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-etc-core (0.3.25) unstable; urgency=low + + * /etc/zsh/zshrc: unalias utf2iso and iso2utf only it it's set. + + -- Michael Prokop Sat, 15 Sep 2007 10:44:11 +0200 + grml-etc-core (0.3.24) unstable; urgency=low [ Frank Terbeck ] diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 4555b7a..0f43289 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -809,7 +809,7 @@ ${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# " alias term2iso="echo 'Setting terminal to iso mode' ; print -n '\e%@'" alias term2utf="echo 'Setting terminal to utf-8 mode'; print -n '\e%G'" - unalias utf2iso # make sure it is not assigned yet + type utf2iso &>/dev/null && unalias utf2iso # make sure it is not assigned yet utf2iso() { if isutfenv ; then for ENV in $(env | command grep -i '.utf') ; do @@ -818,7 +818,7 @@ ${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# " fi } - unalias iso2utf # make sure it is not assigned yet + type iso2utf &>/dev/null && unalias iso2utf # make sure it is not assigned yet iso2utf() { if ! isutfenv ; then for ENV in $(env | command grep -i '\.iso') ; do