diff options
author | June McEnroe <june@causal.agency> | 2018-12-31 22:58:59 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-12-31 22:58:59 -0500 |
commit | 000c800ee8d6afc2a8e99b99e7c420a3de26a6ae (patch) | |
tree | 615ace7c6f598fdbbe2495bd82766e07a7801a6f /home | |
parent | Simplify htop display (diff) | |
download | src-000c800ee8d6afc2a8e99b99e7c420a3de26a6ae.tar.gz src-000c800ee8d6afc2a8e99b99e7c420a3de26a6ae.zip |
Run ls if gs fails
Diffstat (limited to 'home')
-rw-r--r-- | home/.kshrc | 2 |
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' |