diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-10-07 23:45:20 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-10-07 23:45:20 +0200 |
| commit | bd6ea8168ec63d671eccae2a1ee22caf5dcb6ac2 (patch) | |
| tree | 03af563adb5fa7a862b5a331b812c86a07c2ce07 /config/fish | |
| parent | 101fa2bdb34543af4b5dd93a37bd6e158c845255 (diff) | |
| download | dotfiles-bd6ea8168ec63d671eccae2a1ee22caf5dcb6ac2.tar.gz dotfiles-bd6ea8168ec63d671eccae2a1ee22caf5dcb6ac2.zip | |
fish: improve PATH buildup
Diffstat (limited to 'config/fish')
| -rw-r--r-- | config/fish/config.fish | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish index 6728957..5688c22 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -3,15 +3,20 @@ umask 027 # PATH Stuff if not functions -q fish_add_path + source (dirname (readlink $__fish_config_dir/config.fish))/fish_add_path_fallback.fish function fish_add_path fish_add_path_fallback $argv end end -for dir in /bin /sbin /usr/local/bin ~/.local/bin +for dir in /usr/local/bin ~/.local/bin fish_add_path --prepend $dir end +for dir in /bin /sbin + fish_add_path --append $dir +end + fish_add_path /bin/core_perl # export the path to our dotfiles |
