Compare commits

...

2 Commits

Author SHA1 Message Date
earnest ma 66210150c3
comment 2022-02-20 18:05:17 -05:00
earnest ma 3cd1f7f8d6
aliases.sh: Shortcut ghq list with fzf (cd) 2022-02-20 18:04:46 -05:00
1 changed files with 6 additions and 0 deletions

View File

@ -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'
@ -31,6 +36,7 @@ foldersize(){
du -sh "$@"
}
# Easy way to create/ connect to a tmux session
tmm(){
if [ -z "$1" ]; then
tmux attach-session -t 0 || tmux