Skip to content

Commit

Permalink
Merge pull request #8 from benjamineskola/patch-1
Browse files Browse the repository at this point in the history
Handle commandlines starting with `-`
  • Loading branch information
gazorby authored Oct 30, 2020
2 parents 6c09713 + fe8bc49 commit d6eeb11
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 d6eeb11

Please sign in to comment.