projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdab37
)
zshrc: Keeping check_com() defined after zshrcs are sourced
author
Frank Terbeck
<ft@grml.org>
Wed, 13 Feb 2008 18:19:24 +0000
(19:19 +0100)
committer
Frank Terbeck
<ft@grml.org>
Wed, 13 Feb 2008 18:19:24 +0000
(19:19 +0100)
That way, everything in our zshrc can use that function.
...like dchange() already does, which I must have overseen.
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
57af69f
..
9a89178
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-194,7
+194,7
@@
xcat() {
# setup files. This should be called at the end of .zshrc.
xunfunction() {
local -a funcs
- funcs=(
check_com
salias xcat xsource xunfunction zrcautoload)
+ funcs=(salias xcat xsource xunfunction zrcautoload)
for func in $funcs ; do
[[ -n ${functions[$func]} ]] \