diff options
| -rw-r--r-- | .config/shell/profile | 2 | ||||
| -rw-r--r-- | .profile | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile index 8c746ed..81d72da 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -4,7 +4,7 @@ export PATH="$PATH:$HOME/go/bin:/usr/local/go/bin" export PATH="$HOME/.local/bin:$PATH" alias g="git " -alias s="git status --short --ahead-behind" +alias s="{ git status --short ; git log --oneline @{push}.. ; }" alias d="docker " alias k="kubectl " alias t="terraform " @@ -1,5 +1,15 @@ export ENV=$HOME/.kshrc [ -f "$HOME/.config/shell/profile" ] && . "$HOME/.config/shell/profile" + +if [ -d $HOME/.config/shell/profile.d ]; then + for i in $HOME/.config/shell/profile.d/*.sh; do + if [ -r $i ]; then + . $i + fi + done + unset i +fi + if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then startx fi |
