Fixed bug in __git_alias

This commit is contained in:
Nathan Broadbent
2015-05-25 23:01:14 +07:00
parent 737a5d795b
commit d288f3cd74
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ fi
# Function wrapper around 'll'
# Adds numbered shortcuts to output of ls -l, just like 'git status'
if [ "$shell_ls_aliases_enabled" = "true" ]; then
if [ "$shell_ls_aliases_enabled" = "true" ] && which ruby > /dev/null 2>&1; then
unalias ll > /dev/null 2>&1; unset -f ll > /dev/null 2>&1
function ls_with_file_shortcuts {
local ll_output