diff --git a/share/fish.in b/share/fish.in index df3433bc4..2f1cbcd6f 100644 --- a/share/fish.in +++ b/share/fish.in @@ -54,7 +54,7 @@ if test "$USER" = root end # Make a regular expression that matches any component in the PATH. A -# trailing slash is ok. The sed call is to remove the last '\|'. +# trailing slash is ok. The sed call is to remove the last '|'. set -l tmp (printf "%s" \^$PATH'/?$|') set -l path_regexp \((echo $tmp | sed -e "s/.\$//")\)