commit fa6ea9834c0838e24a961894f1ab875fc4b44359 parent b51036a72b8171727869e452c22d7429157235ea Author: MichaĆ M. Sapka <michal@sapka.me> Date: Fri, 2 Sep 2022 11:21:48 +0200 feat(fish): use local config Diffstat:
M | fish/.config/fish/.gitignore | | | 1 | + |
M | fish/.config/fish/config.fish | | | 6 | ++++++ |
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/fish/.config/fish/.gitignore b/fish/.config/fish/.gitignore @@ -1 +1,2 @@ fish_variables +config-local.fish diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish @@ -38,6 +38,7 @@ set -g theme_display_user yes set -g theme_hide_hostname no set -g theme_hostname always +# OS specific configurations switch (uname) case Darwin source (dirname (status --current-filename))/config-osx.fish @@ -46,5 +47,10 @@ switch (uname) end source (dirname (status --current-filename))/config-zendesk.fish +# local config, not versionated at is contains secrets +set LOCAL_CONFIG (dirname (status --current-filename))/config-local.fish +if test -f $LOCAL_CONFIG + source $LOCAL_CONFIG +end # prompt config starship init fish | source