dotfiles/.scripts/remove-project
2024-07-03 16:00:32 -04:00

6 lines
136 B
Plaintext
Executable File

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