From f255f39ad530fbaf47723689c4a0ceb851ad1843 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 10 Nov 2024 14:41:16 +0800 Subject: [PATCH] home/fish: declaritive tide configuration --- home/applications/bash/default.nix | 5 +---- home/applications/fish/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/home/applications/bash/default.nix b/home/applications/bash/default.nix index 34e7d4f..93a70df 100644 --- a/home/applications/bash/default.nix +++ b/home/applications/bash/default.nix @@ -1,7 +1,4 @@ { config, ... }: { - programs.bash = { - enable = true; - historyFile = "${config.xdg.configHome}/bash/.bash_history"; - }; + home.sessionVariables.HISTFILE = "${config.xdg.stateHome}/bash_history"; } diff --git a/home/applications/fish/default.nix b/home/applications/fish/default.nix index a04e02d..8df0523 100644 --- a/home/applications/fish/default.nix +++ b/home/applications/fish/default.nix @@ -17,6 +17,16 @@ fish_default_key_bindings -M insert fish_vi_key_bindings --no-erase insert end + + tide configure --auto \ + --style=Lean \ + --prompt_colors='16 colors' \ + --show_time=No \ + --lean_prompt_height='Two lines' \ + --prompt_connection=Disconnected \ + --prompt_spacing=Sparse \ + --icons='Few icons' \ + --transient=No ''; plugins =