aliases.sh: Shortcut ghq list with fzf (cd)
parent
b4b4cc1c05
commit
3cd1f7f8d6
|
@ -20,6 +20,11 @@ cghq(){
|
||||||
cd $(ghq root)/$(ghq list | grep "$1" | head -1)
|
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 ls='exa' # -ag
|
||||||
alias la='exa -l'
|
alias la='exa -l'
|
||||||
alias ll='exa -lahg'
|
alias ll='exa -lahg'
|
||||||
|
|
Loading…
Reference in New Issue