We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stderr-nocaret
1 parent 8d26b08 commit 1b882b6Copy full SHA for 1b882b6
functions/_pisces_lookup.fish
@@ -9,6 +9,6 @@ function _pisces_lookup -a pos len -d "Returns the text at the given position re
9
set input (commandline -b)
10
11
# NOTE: it's important to quote $input, because it may have newlines
12
- string sub --start (math "$cur + $pos + 1") --length $len -- "$input" ^/dev/null
+ string sub --start (math "$cur + $pos + 1") --length $len -- "$input" 2>/dev/null
13
or echo '' # if it's out of bounds (probably better to return cut part)
14
end
0 commit comments