Compare commits
2 Commits
b4b4cc1c05
...
66210150c3
Author | SHA1 | Date |
---|---|---|
earnest ma | 66210150c3 | |
earnest ma | 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'
|
||||||
|
@ -31,6 +36,7 @@ foldersize(){
|
||||||
du -sh "$@"
|
du -sh "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Easy way to create/ connect to a tmux session
|
||||||
tmm(){
|
tmm(){
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
tmux attach-session -t 0 || tmux
|
tmux attach-session -t 0 || tmux
|
||||||
|
|
Loading…
Reference in New Issue