Skip to content

Commit b6e1f74

Browse files
committed
Fix number of arguments for zsh completions
1 parent a2bd50c commit b6e1f74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_notes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ _notes ()
6767
new|n|ls)
6868
_path_files -W "${note_dir}" -/ && _ret=0;;
6969
esac
70+
elif (($CURRENT >= 3)); then
71+
case $words[2] in
72+
rm)
73+
_path_files -W "${note_dir}" && _ret=0;;
74+
esac
7075
fi
7176
}
7277

0 commit comments

Comments
 (0)