mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
parent
75ac482cec
commit
66f181499b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function __fish_complete_suffix -d "Complete using files"
|
|||
|
||||
# Perform the completion
|
||||
|
||||
set base (echo $comp |sed -e 's/\.[a-zA-Z0-9]*$//')
|
||||
set base (string replace -r '\.[^.]*$' '' -- $comp | string trim -c '\'"') # " make emacs syntax highlighting happy
|
||||
eval "set files $base*$suff"
|
||||
|
||||
if test $files[1]
|
||||
|
|
Loading…
Reference in a new issue