mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08: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
)
6 lines
77 B
Plaintext
6 lines
77 B
Plaintext
first invalid path handled okay
|
|
/
|
|
fish
|
|
fish/real_file
|
|
pwd-resolved-to-itself
|