Compare commits

..

1 Commits

Author SHA1 Message Date
Andrei Stoica 54b784f6ba work function cleanup 2023-06-15 08:15:12 -04:00
1 changed files with 1 additions and 1 deletions

2
.zshrc
View File

@ -106,7 +106,7 @@ export PATH=$HOME/.cargo/bin:$PATH
function work() {
work_dirs=( "$HOME/clones" "$HOME/sandbox" )
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf --query=$1 --preview "tree -C -L 2 {}")n
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf --query=$1 --preview "tree -C -L 2 {}")
[ -z $goto ] && return
if [ -z $TMUX ]