mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08: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
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
|