diff --git a/shell_common/.config/shell_common/aliases.sh b/shell_common/.config/shell_common/aliases.sh index 6e95cfb..9a517b3 100644 --- a/shell_common/.config/shell_common/aliases.sh +++ b/shell_common/.config/shell_common/aliases.sh @@ -20,6 +20,11 @@ cghq(){ cd $(ghq root)/$(ghq list | grep "$1" | head -1) } +# use fzf to cd into a ghq directory +fghq(){ + cd $(ghq root)/$(ghq list | fzf) +} + alias ls='exa' # -ag alias la='exa -l' alias ll='exa -lahg'