summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@openwide.fr>2009-07-10 10:57:33 +0200
committerHugues Hiegel <hugues.hiegel@openwide.fr>2009-07-10 10:57:33 +0200
commit713a5cb5945bccd34d875fe2f3faaa9b58264cfd (patch)
treeeb7ec1ae0a44376f8baff04042b4e57a57a6ff23 /01_Functions.zsh
parent69acd16835444ce0b7045875df01e52630b02f1c (diff)
[Funcs] w00t, an error while getting command args big as NOSE...
Diffstat (limited to '01_Functions.zsh')
-rw-r--r--01_Functions.zsh4
1 files changed, 2 insertions, 2 deletions
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 " |" $@