mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 17:49:28 +08:00
![Kurtis Rader](/assets/img/avatar_default.png)
Not all distros have a `realpath` command. Provide a function that uses the real command if available else use the fish builtin. Fixes #2932
6 lines
77 B
Plaintext
6 lines
77 B
Plaintext
first invalid path handled okay
|
|
/
|
|
fish
|
|
fish/real_file
|
|
pwd-resolved-to-itself
|