dotfiles/config/.scripts/remove-project
2024-09-05 19:14:30 -04:00

6 lines
148 B
Plaintext
Executable File

proj="$(cat -n ~/.scripts/store/projects | fzf | cut -f 1 | tr -d ' ')"
if [ -z "$proj" ]; then
exit
fi
sed -i "$proj"d ~/.scripts/store/projects