mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +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
3 lines
201 B
Text
3 lines
201 B
Text
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
|