projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: fix breakage, which was revealed by a zsh v3.1.7 testrun
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
fc1eedd
..
671e7c1
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-338,7
+338,7
@@
check_com -c dircolors && eval $(dircolors -b)
if [[ -n "$BROKEN_COMPLETION_DIR" ]] ; then
print 'Warning: not setting completion directories because broken files have been found.' >&2
else
if [[ -n "$BROKEN_COMPLETION_DIR" ]] ; then
print 'Warning: not setting completion directories because broken files have been found.' >&2
else
- [[ -d /etc/zsh/completion.d ]] && fpath
+=(
/etc/zsh/completion.d )
+ [[ -d /etc/zsh/completion.d ]] && fpath
=( $fpath
/etc/zsh/completion.d )
if [[ -d /etc/zsh/functions.d ]] ; then
fpath+=( /etc/zsh/functions.d )
for func in /etc/zsh/functions.d/[^_]*[^~] ; do
if [[ -d /etc/zsh/functions.d ]] ; then
fpath+=( /etc/zsh/functions.d )
for func in /etc/zsh/functions.d/[^_]*[^~] ; do
@@
-1359,7
+1359,7
@@
fi
# {{{ Use hard limits, except for a smaller stack and no core dumps
unlimit
# {{{ Use hard limits, except for a smaller stack and no core dumps
unlimit
-limit stack 8192
+
is4 &&
limit stack 8192
isgrmlcd && limit core 0 # important for a live-cd-system
limit -s
# }}}
isgrmlcd && limit core 0 # important for a live-cd-system
limit -s
# }}}