From 49bfc4f00076d68be325ce8a037ac2bb5fb037f6 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Mon, 25 Jun 2018 20:59:24 -0500 Subject: [PATCH] fixup! Fix __fish_complete_suffix behavior for paths with literal . --- share/functions/__fish_complete_suffix.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_complete_suffix.fish b/share/functions/__fish_complete_suffix.fish index ae7f01a84..e19afcd10 100644 --- a/share/functions/__fish_complete_suffix.fish +++ b/share/functions/__fish_complete_suffix.fish @@ -36,8 +36,8 @@ function __fish_complete_suffix -d "Complete using files" # Strip leading ./ as it confuses the detection of base and suffix # It is conditionally re-added below. set base (string replace -r '^("\')?\\./' '' -- $comp | string trim -c '\'"') # " make emacs syntax highlighting happy - echo "base: $base" > /dev/tty - echo "suffix: $suff" > /dev/tty + # echo "base: $base" > /dev/tty + # echo "suffix: $suff" > /dev/tty set -l all set -l dirs