Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

fixed rm.fish keyword deletion #28

Merged
merged 2 commits into from
Feb 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ mv $dir $loc
mkdir $loc/lists
# base list
mkdir $loc/lists/base
touch $loc/lists/base/Tdo.csv
touch $loc/lists/base/Tdone.csv
touch $loc/lists/base/Tdo.txt
touch $loc/lists/base/Tdone.txt
# adding tab completion
cp $loc/completions/tasks.fish ~/.local/share/fish/generated_completions/
# adding manual
Expand Down
1 change: 0 additions & 1 deletion src/rm.fish
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function rm_
case N n
exit
end
sed "$num !d" $HOME/.local/lib/tasks/lists/$_flag_list/Tdo.txt >> $HOME/.local/lib/tasks/lists/$_flag_list/Tdone.txt
sed -i "$num d" $HOME/.local/lib/tasks/lists/$_flag_list/Tdo.txt
else
echo "Unable to find keyword"
Expand Down