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:
08ab5d9
)
zshrc: Use a non-forking expression to read /etc/debian_chroot
author
Frank Terbeck
<ft@grml.org>
Tue, 5 Mar 2013 14:13:32 +0000
(15:13 +0100)
committer
Frank Terbeck
<ft@grml.org>
Tue, 5 Mar 2013 17:22:01 +0000
(18:22 +0100)
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
5f832c7
..
355a944
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-1267,7
+1267,7
@@
fi
# set variable debian_chroot if running in a chroot with /etc/debian_chroot
if [[ -z "$debian_chroot" ]] && [[ -r /etc/debian_chroot ]] ; then
- debian_chroot=$(
cat
/etc/debian_chroot)
+ debian_chroot=$(
<
/etc/debian_chroot)
fi
# gather version control information for inclusion in a prompt