Moving things

This commit is contained in:
2025-09-13 12:46:30 -04:00
parent 4ec45dab46
commit bf84f99337
19 changed files with 426 additions and 1178 deletions

View File

@@ -4,7 +4,7 @@
PROJECTS_DIR="${HOME}/Projects/"
# Use fzf to select a directory
folder=$(find "$PROJECTS_DIR" -type d -maxdepth 1 | \
folder=$(find "$PROJECTS_DIR" -maxdepth 1 -type d | \
fzf --delimiter / --with-nth=-1 --keep-right \
--prompt="Projects 󰓾 " \
--tmux left,40 --reverse \
@@ -19,7 +19,7 @@ if [[ -n "$folder" ]]; then
else
# Create a new tmux window with the project name and open nvim in the folder
# tmux new-window -n "$projectname" "cd '$folder' &&"
tmux new-window -n "$projectname" "cd '$folder' && nvim"
tmux new-window -n "$projectname" "cd '$folder'; ${SHELL}"
fi
fi