dotfiles/config/.scripts/remove-project

6 lines
148 B
Plaintext
Raw Normal View History

2024-09-06 00:14:30 +01:00
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