mirror of
https://git.earne.link/earnestma/dotfiles
synced 2024-06-17 22:37:09 +00:00
ghq cd function
This commit is contained in:
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
Block a user