diff --git a/shell_common/.config/shell_common/aliases.sh b/shell_common/.config/shell_common/aliases.sh index ee6237c..6e95cfb 100644 --- a/shell_common/.config/shell_common/aliases.sh +++ b/shell_common/.config/shell_common/aliases.sh @@ -15,6 +15,11 @@ ahbh(){ # I'm not sure if this works "$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')"..."$(git branch --show-current)" } +# quickly cd into a ghq dir +cghq(){ + cd $(ghq root)/$(ghq list | grep "$1" | head -1) +} + alias ls='exa' # -ag alias la='exa -l' alias ll='exa -lahg'