diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-10-14 10:41:27 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-10-14 10:41:27 +0200 |
| commit | 307ef47a56f720c1b548f7e27acd4f3a306f436b (patch) | |
| tree | b0b74957cc4b1c063d96d189fba0e6b43e1f7456 /config/fish/fish_add_path_fallback.fish | |
| parent | f493f81172ae2c38ffa93a3b651d24c84d00b11f (diff) | |
| download | dotfiles-307ef47a56f720c1b548f7e27acd4f3a306f436b.tar.gz dotfiles-307ef47a56f720c1b548f7e27acd4f3a306f436b.zip | |
[fish] fix fallback wrapper and use native realpath
Diffstat (limited to 'config/fish/fish_add_path_fallback.fish')
| -rw-r--r-- | config/fish/fish_add_path_fallback.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/fish/fish_add_path_fallback.fish b/config/fish/fish_add_path_fallback.fish index 4b0b045..e9233c3 100644 --- a/config/fish/fish_add_path_fallback.fish +++ b/config/fish/fish_add_path_fallback.fish @@ -47,7 +47,7 @@ function fish_add_path_fallback --description 'Add paths to the PATH' # We could add a non-canonical version of the given path if no duplicate exists, but tbh that's a recipe for disaster. # realpath complains if a parent directory does not exist, so we silence stderr. - set -l p (builtin realpath -s -- $path 2>/dev/null) + set -l p (realpath -s -- $path 2>/dev/null) # Ignore non-existing paths test -d "$p"; or continue |
