Disable bash command wrapping until issues are fixed with escaped characters (i.e. whitespace in filenames)

This commit is contained in:
Nathan Broadbent
2012-01-31 00:53:11 +08:00
parent 2a2987cc87
commit 006ac0da7c

View File

@@ -172,14 +172,14 @@ fi
# Bash command wrapping
# (Works fine with RVM's cd() wrapper)
if [[ "$bash_command_wrapping_enabled" = "true" ]]; then
for cmd in vim cat cd rm cp mv ln; do
alias $cmd="exec_git_expand_args $cmd"
done
if [[ "$(type ls)" =~ "--color=auto" ]]; then
alias ls="exec_git_expand_args ls --color=auto"
else
alias ls="exec_git_expand_args ls"
fi
fi
#~ if [[ "$bash_command_wrapping_enabled" = "true" ]]; then
#~ for cmd in vim cat cd rm cp mv ln; do
#~ alias $cmd="exec_git_expand_args $cmd"
#~ done
#~
#~ if [[ "$(type ls)" =~ "--color=auto" ]]; then
#~ alias ls="exec_git_expand_args ls --color=auto"
#~ else
#~ alias ls="exec_git_expand_args ls"
#~ fi
#~ fi