mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
fixup! Fix __fish_complete_suffix behavior for paths with literal .
This commit is contained in:
parent
72d80c3d91
commit
49bfc4f000
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ function __fish_complete_suffix -d "Complete using files"
|
||||||
# Strip leading ./ as it confuses the detection of base and suffix
|
# Strip leading ./ as it confuses the detection of base and suffix
|
||||||
# It is conditionally re-added below.
|
# It is conditionally re-added below.
|
||||||
set base (string replace -r '^("\')?\\./' '' -- $comp | string trim -c '\'"') # " make emacs syntax highlighting happy
|
set base (string replace -r '^("\')?\\./' '' -- $comp | string trim -c '\'"') # " make emacs syntax highlighting happy
|
||||||
echo "base: $base" > /dev/tty
|
# echo "base: $base" > /dev/tty
|
||||||
echo "suffix: $suff" > /dev/tty
|
# echo "suffix: $suff" > /dev/tty
|
||||||
|
|
||||||
set -l all
|
set -l all
|
||||||
set -l dirs
|
set -l dirs
|
||||||
|
|
Loading…
Reference in a new issue