ghq cd function
parent
9968962bd0
commit
cc35ad8255
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue