Marty Oehme
bb9030f885
Fixed bash alias loading for additional modules by loading both general sh aliases as well as individual bash aliases. Moved git stash push/save aliasing to split between bash/zsh shell since zsh can check for the correct version of git to invoke push command (only part of git since 2.13) and bash simply falls back to save.
10 lines
178 B
Bash
10 lines
178 B
Bash
#!/usr/bin/env bash
|
|
|
|
if ! exist git; then
|
|
return 1
|
|
fi
|
|
|
|
# while zsh can detect versions, bash
|
|
# in shells other than zsh, simply fall back to save
|
|
alias gsta='git stash save'
|