Skip to content

Commit

Permalink
Handle commandlines starting with --
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamineskola authored Oct 25, 2020
1 parent 6c09713 commit fe8bc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/__abbr_tips_bind_space.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function __abbr_tips_bind_space
commandline -i " "
if test $__abbr_tips_used != 1
if abbr -q (string trim (commandline))
if abbr -q -- (string trim -- (commandline))
set -g __abbr_tips_used 1
else
set -g __abbr_tips_used 0
Expand Down

0 comments on commit fe8bc49

Please sign in to comment.