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