mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
52731c480c
Not all distros have a `realpath` command. Provide a function that uses the
real command if available else use the fish builtin.
Fixes #2932
(cherry picked from commit 6c329e8a83
)
5 lines
77 B
Text
5 lines
77 B
Text
first invalid path handled okay
|
|
/
|
|
fish
|
|
fish/real_file
|
|
pwd-resolved-to-itself
|