about summary refs log tree commit diff
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-08-02 23:33:50 +0100
committerdevhell <devhell@mailfresser.de>2021-08-02 23:33:50 +0100
commit67b780970a87da042e06fee9fdda042ed789b62f (patch)
treecd812516f15e73a3ff71d0e6445b50abaf2c0fca
parent39a07779df3b2bf122805ed26ee222a056c4f724 (diff)
profiles/base: Add any-fix-shell, remove tab colors
Enabling tab colors like this throws an eval error. Don't have time to
look into it right now, so reverting by adding `any-nix-shell` instead,
which looks useful since the default bash prompt is rather primitive and
gives no info whatsoever.
-rw-r--r--modules/user/devhell/profiles/base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix
index 071e4bd2..999e05f0 100644
--- a/modules/user/devhell/profiles/base.nix
+++ b/modules/user/devhell/profiles/base.nix
@@ -71,10 +71,10 @@ in {
         enable = true;
         promptInit = ''
           eval "$(${pkgs.starship}/bin/starship init zsh)"
+          ${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin}
         '';
         interactiveShellInit = ''
           zstyle ':completion:*' menu select
-          zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
           source ${pkgs.fzf}/share/fzf/key-bindings.zsh
         '';
         shellAliases = {