From 67b780970a87da042e06fee9fdda042ed789b62f Mon Sep 17 00:00:00 2001 From: devhell Date: Mon, 2 Aug 2021 23:33:50 +0100 Subject: 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. --- modules/user/devhell/profiles/base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 = { -- cgit 1.4.1