Compare commits

..

1 Commits

Author SHA1 Message Date
Andrei Stoica d9ff4b0402 work function cleanup 2023-06-15 08:13:23 -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 {}")
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf --query=$1 --preview "tree -C -L 2 {}")n
[ -z $goto ] && return
if [ -z $TMUX ]