From 713a5cb5945bccd34d875fe2f3faaa9b58264cfd Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 10 Jul 2009 10:57:33 +0200 Subject: [Funcs] w00t, an error while getting command args big as NOSE... --- 01_Functions.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '01_Functions.zsh') diff --git a/01_Functions.zsh b/01_Functions.zsh index cf58e9b..3ea957e 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -26,7 +26,7 @@ term_title() { # Jobs typeset -A command - for word in ${=@} ; command[$#comand]=$word + for word in ${=@} ; command[$#command]=$word if [ "$command[0]" = "fg" ] then lastjob=$(ps ft `tty` | grep "[0-9]\+[[:blank:]]\+`tty | sed 's/\/dev\///'`[[:blank:]]\+T.\? \+.:.. \\\_ " | tail -n1 | cut -c32-) @@ -35,7 +35,7 @@ term_title() if [ "$command[0]" = "screen" ] then # discards screen args - set "SCREEN" + set "screen" fi [ ! "$@" = "" ] && set " |" $@ -- cgit v1.2.3