Use builtins when possible
a call to cat can be replaced by a redirection.
This commit is contained in:
parent
1c114a0566
commit
1808f69405
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# LIQUID PROMPT
|
# LIQUID PROMPT
|
||||||
# An intelligent and non intrusive prompt for bash and zsh
|
# An intelligent and non intrusive prompt for bash and zsh
|
||||||
@ -465,7 +464,7 @@ _chroot()
|
|||||||
{
|
{
|
||||||
if [[ -r /etc/debian_chroot ]] ; then
|
if [[ -r /etc/debian_chroot ]] ; then
|
||||||
local debchroot
|
local debchroot
|
||||||
debchroot="$(cat /etc/debian_chroot)"
|
debchroot="$(< /etc/debian_chroot)"
|
||||||
echo "(${debchroot})"
|
echo "(${debchroot})"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user