projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
47c7944
..
57af69f
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-289,6
+289,11
@@
is43(){
return 1
}
return 1
}
+# Use is-at-least, if you need to check more precisely.
+# Note that this test will *always* fail, if the is-at-least
+# function could not be marked for autoloading.
+zrcautoload is-at-least || is-at-least() { return 1 }
+
#f1# Checks whether or not you're running grml
isgrml(){
[[ -f /etc/grml_version ]] && return 0
#f1# Checks whether or not you're running grml
isgrml(){
[[ -f /etc/grml_version ]] && return 0
@@
-369,7
+374,7
@@
else
fi
#v#
fi
#v#
-(( ${+PAGER} )) || export PAGER="less"
+export PAGER=${PAGER:-less}
#v#
export MAIL=${MAIL:-/var/mail/$USER}
#v#
export MAIL=${MAIL:-/var/mail/$USER}
@@
-381,7
+386,7
@@
export SHELL='/bin/zsh'
check_com -c dircolors && eval $(dircolors -b)
# set width of man pages to 80 for more convenient reading
check_com -c dircolors && eval $(dircolors -b)
# set width of man pages to 80 for more convenient reading
-#
(( ${+MANWIDTH} )) || export MANWIDTH=80
+#
export MANWIDTH=${MANWIDTH:-80}
# Search path for the cd command
# cdpath=(.. ~)
# Search path for the cd command
# cdpath=(.. ~)