From 905bd3d09496aadf919fbb6ce984f02519ddfe09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aljaz=CC=8C=20=22g5pw=22=20Srebrnic=CC=8C?= Date: Mon, 22 Oct 2012 19:40:58 +0200 Subject: [PATCH] Fix small bug $_ll_command is no longer defined, so the test evaluates to false, failing to include the ls_with_file_shortcuts function. --- lib/git/shell_shortcuts.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/git/shell_shortcuts.sh b/lib/git/shell_shortcuts.sh index 2ceaf50..432faaa 100644 --- a/lib/git/shell_shortcuts.sh +++ b/lib/git/shell_shortcuts.sh @@ -92,7 +92,6 @@ else _abs_path_command="readlink -f" fi -if [ -n "$_ll_command" ]; then # Function wrapper around 'll' # 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 @@ -166,7 +165,6 @@ EOF done IFS="$OLDIFS" } -fi # Setup aliases alias ll="exec_scmb_expand_args ls_with_file_shortcuts"