myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit 0aea9820fb03adfb5c4677d5d46b79fa1dce40d1
parent 76753267b5e8e04a0fbe99c31363e222ffc597c1
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri,  1 Feb 2013 00:32:37 +0100

remove useless quotes

Diffstat:
zsh/zshrc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -88,11 +88,11 @@ preexec () { local WD="$(pwd | sed "s/^\/home\/$USER/~/")" export LASTDATE="`date +%T`" if [[ "$TERM" == "rxvt-unicode" ]]; then - export COMMAND="$(echo \"$1\" | tr -d '\n')" + export COMMAND="$(echo $1 | tr -d '\n')" echo -ne "\e]0;$LOCALNAME $HOST:$WD$ $COMMAND ($LASTDATE)\a" #echo -ne "\e]0;$LOCALNAME $HOST:$WD$ TODO ($LASTDATE)\a" fi - export LASTCMD="$(echo \"$1\" | tr -d '\n')" + export LASTCMD="$(echo $1 | tr -d '\n')" CMD=${1%% *} case $CMD in sudo)