From 8de31b907e887e595c6e52f8a611a89fe4765c72 Mon Sep 17 00:00:00 2001 From: Baptiste Grenier Date: Mon, 13 Jan 2025 11:20:18 +0100 Subject: [PATCH] fish: add .local/bin to PATH if exists --- home/private_dot_config/private_fish/config.fish.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/private_dot_config/private_fish/config.fish.tmpl b/home/private_dot_config/private_fish/config.fish.tmpl index da278fa3..05e62e84 100644 --- a/home/private_dot_config/private_fish/config.fish.tmpl +++ b/home/private_dot_config/private_fish/config.fish.tmpl @@ -21,6 +21,10 @@ if status is-interactive end {{ end -}} + if test -d ~/.local/bin + fish_add_path -p -m ~/.local/bin + end + # Use bat as pager set -gx PAGER bat set -gx SYSTEMD_PAGER bat