mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 09:56:31 +08:00

Not all distros have a `realpath` command. Provide a function that uses the real command if available else use the fish builtin. Fixes #2932
4 lines
201 B
Plaintext
4 lines
201 B
Plaintext
fish_realpath: Invalid path: /this/better/be/an/invalid/path
|
|
fish_realpath: Invalid path: nonexistent-file
|
|
fish_realpath: Invalid path: ../test/data/fish-symlink/nonexistent-file-relative-to-a-symlink
|