summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-31 22:58:59 -0500
committerJune McEnroe <june@causal.agency>2018-12-31 22:58:59 -0500
commita2a7b6cb4339fff155296bb50559c1d9043d5b90 (patch)
treed4c21686122b5f9163eddb56ec48b4c9d066c8ec /home
parentSimplify htop display (diff)
downloadsrc-a2a7b6cb4339fff155296bb50559c1d9043d5b90.tar.gz
src-a2a7b6cb4339fff155296bb50559c1d9043d5b90.zip
Run ls if gs fails
Diffstat (limited to 'home')
-rw-r--r--home/.kshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.kshrc b/home/.kshrc
index 113292cf..05d62e53 100644
--- a/home/.kshrc
+++ b/home/.kshrc
@@ -34,7 +34,7 @@ if [[ $(uname) = 'Linux' ]]; then
 	alias ls='ls --color=auto' grep='grep --color' rm='rm -I'
 fi
 alias bc='bc -l'
-alias gs='git status --short --branch' gd='git diff'
+alias gs='git status --short --branch || ls' gd='git diff'
 alias gsh='git show' gl='git log --graph --pretty=log'
 alias gco='git checkout' gb='git branch' gm='git merge' gst='git stash'
 alias ga='git add' gmv='git mv' grm='git rm'