1. Randy Stauner
  2. run_control

Commits

Randy Stauner  committed bf818c9

Add 'ls' alias since it doesn't seem to tab-complete

  • Participants
  • Parent commits 540f0ac
  • Branches master

Comments (0)

Files changed (1)

File scripts/git_config.sh

View file
 $gc alias.lg               "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%aN%Creset %C(blue)<%aE>%Creset' --abbrev-commit"
 $gc alias.lgpcw           $'!git lg -p --color-words=.'
 
+# ls-files doesn't tab-complete, so just shorten it
+$gc alias.ls              $'ls-files'
+
 $gc alias.merge-delete    $'!_() { git merge "$1"; git branch -d "$1"; }; _'
 
 # provide rebasing music (https://coderwall.com/p/at9bya)