mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Quote test
check to cause usage ouput
This commit is contained in:
parent
36fe172932
commit
c5b17b5310
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ if not command -s realpath >/dev/null
|
|||
end
|
||||
else
|
||||
function realpath -w fish_realpath -d "get an absolute path without symlinks [fish_realpath]"
|
||||
if test -z $argv
|
||||
if test -z "$argv"
|
||||
printf "usage: %s%s%s %sfile%s …\n" (set_color -o) $_ (set_color normal) (set_color -u) (set_color normal)
|
||||
echo " resolves files as absolute paths without symlinks"
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue