From 53c3d8960c4cc49ab931558bdb06064641dee07f Mon Sep 17 00:00:00 2001 From: reonokiy Date: Wed, 12 Feb 2025 00:36:54 +0800 Subject: [PATCH] update fish config --- dot_config/fish/config.fish | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dot_config/fish/config.fish diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish new file mode 100644 index 0000000..481f07c --- /dev/null +++ b/dot_config/fish/config.fish @@ -0,0 +1,19 @@ +# disable fish greeting +set fish_greeting + +# nix +if command -v nix >/dev/null + fish_add_path ~/.nix-profile/bin +end + +# direnv +if command -v direnv >/dev/null + direnv hook fish | source + set -g direnv_fish_mode eval_on_arrow +end + +# starship +if command -v starship >/dev/null + source (starship init fish --print-full-init | psub) +end +