[Git-commits] [grml/grml-etc-core] 162b48: zshrc: drop trailing space in grep and ls _options
Michael Prokop
mika at grml.org
Tue May 29 13:07:14 CEST 2012
Branch: refs/heads/master
Home: https://github.com/grml/grml-etc-core
Commit: 162b4889240fbdd2df3674af0779e1133850ac80
https://github.com/grml/grml-etc-core/commit/162b4889240fbdd2df3674af0779e1133850ac80
Author: Michael Prokop <mika at grml.org>
Date: 2012-05-29 (Tue, 29 May 2012)
Changed paths:
M etc/zsh/zshrc
Log Message:
-----------
zshrc: drop trailing space in grep and ls _options
If an alias ends with a space char the shell will expand the next
word as an alias as well, even if it's not a global alias.
Bug demonstration:
| % which "grep"
| grep: aliased to grep --color=auto
| % which "ls"
| ls: aliased to ls -b -CF --color=auto
| % grep ls ~/.gitconfig
| grep: F: invalid context length argument
Thanks: Frank Terbeck <ft at grml.org> for the bugfix
Acked-by: Frank Terbeck <ft at grml.org>
More information about the Git-commits
mailing list