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 (from parent 1:
545b01c
)
zshrc: 'limit stack' needs zsh 4.2.5 or newer (not just 4.*)
author
Frank Terbeck
<ft@grml.org>
Tue, 2 Sep 2008 22:43:37 +0000
(
00:43
+0200)
committer
Frank Terbeck
<ft@grml.org>
Tue, 2 Sep 2008 22:43:37 +0000
(
00:43
+0200)
debian/changelog
patch
|
blob
|
history
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
1beff66
..
5c94d60
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,3
+1,9
@@
+grml-etc-core (0.3.56) unstable; urgency=low
+
+ * zshrc: 'limit stack' needs zsh 4.2.5 or newer (not just 4.*)
+
+ -- Frank Terbeck <ft@grml.org> Wed, 03 Sep 2008 00:42:23 +0200
+
grml-etc-core (0.3.55) unstable; urgency=low
[ Frank Terbeck ]
grml-etc-core (0.3.55) unstable; urgency=low
[ Frank Terbeck ]
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
05c114a
..
6fdb081
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-109,6
+109,11
@@
is42(){
return 1
}
return 1
}
+is425(){
+ [[ $ZSH_VERSION == 4.2.<5->* || $ZSH_VERSION == 4.<3->* || $ZSH_VERSION == <5->* ]] && return 0
+ return 1
+}
+
is43(){
[[ $ZSH_VERSION == 4.<3->* || $ZSH_VERSION == <5->* ]] && return 0
return 1
is43(){
[[ $ZSH_VERSION == 4.<3->* || $ZSH_VERSION == <5->* ]] && return 0
return 1
@@
-1899,7
+1904,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
-is4 && limit stack 8192
+is4
25
&& 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
# }}}