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

Commit

Permalink
Merge pull request #28 from cmaspi/dev
Browse files Browse the repository at this point in the history
fixed rm.fish keyword deletion
  • Loading branch information
cmaspi authored Feb 20, 2022
2 parents 5b96efa + 10d2be1 commit e89f79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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

0 comments on commit e89f79a

Please sign in to comment.