Commit 414ad9d6 authored by Roman Alifanov's avatar Roman Alifanov Committed by Vitaly Lipatov

fish completion: some fix

parent 4905ce31
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function __eepm_list_available_packages function __eepm_list_available_packages
set -l cur (commandline -ct) set -l cur (commandline -ct)
if string match -q -r '^\.{0,2}/' -- $cur if string match -q -r '^(~|\.{0,2}/)' -- $cur
__fish_complete_path "$cur" __fish_complete_path "$cur"
else else
epm list --available --quiet --short --direct | grep "^$cur" epm list --available --quiet --short --direct | grep "^$cur"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment