Fix small bug
$_ll_command is no longer defined, so the test evaluates to false, failing to include the ls_with_file_shortcuts function.
This commit is contained in:
@@ -92,7 +92,6 @@ else
|
|||||||
_abs_path_command="readlink -f"
|
_abs_path_command="readlink -f"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$_ll_command" ]; then
|
|
||||||
# Function wrapper around 'll'
|
# Function wrapper around 'll'
|
||||||
# Adds numbered shortcuts to output of ls -l, just like 'git status'
|
# Adds numbered shortcuts to output of ls -l, just like 'git status'
|
||||||
unalias ll > /dev/null 2>&1; unset -f ll > /dev/null 2>&1
|
unalias ll > /dev/null 2>&1; unset -f ll > /dev/null 2>&1
|
||||||
@@ -166,7 +165,6 @@ EOF
|
|||||||
done
|
done
|
||||||
IFS="$OLDIFS"
|
IFS="$OLDIFS"
|
||||||
}
|
}
|
||||||
fi
|
|
||||||
|
|
||||||
# Setup aliases
|
# Setup aliases
|
||||||
alias ll="exec_scmb_expand_args ls_with_file_shortcuts"
|
alias ll="exec_scmb_expand_args ls_with_file_shortcuts"
|
||||||
|
|||||||
Reference in New Issue
Block a user