projects
/
zsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
262e373
)
drop whitespace
author
Joerg Jaspert
<joerg@debian.org>
Thu, 21 Mar 2013 22:20:13 +0000
(23:20 +0100)
committer
Joerg Jaspert
<joerg@debian.org>
Thu, 21 Mar 2013 22:20:13 +0000
(23:20 +0100)
.zsh/05_Functions.zsh
patch
|
blob
|
history
diff --git
a/.zsh/05_Functions.zsh
b/.zsh/05_Functions.zsh
index
1c619a6
..
12ade7a
100644
(file)
--- a/
.zsh/05_Functions.zsh
+++ b/
.zsh/05_Functions.zsh
@@
-33,14
+33,14
@@
preprint()
draw="-"
fi
out="${my_color}${hbar}${start}"
-
+
if [[ "${1}" != "" ]]; then
out+="${pipe1}${stop}${my_color} $1 ${my_color}${start}${pipe2}"
else
out+="${draw}${draw}${draw}${draw}"
fi
out+="${draw}${stop}${NO_COLOR}\r"
-
+
print -Pn -- $out
}