Update fish/tide and some minor tweaks
This commit is contained in:
parent
5f0b599ca6
commit
341216cd94
5 changed files with 9 additions and 6 deletions
|
@ -11,8 +11,9 @@ in
|
|||
|
||||
config.programs.fish = mkIf cfg.enable {
|
||||
functions._tide_item_nix_shell = ''
|
||||
# In a Nix Shell
|
||||
if string match -q "/nix/store/*" $PATH
|
||||
set -U tide_nix_shell_color blue
|
||||
set -U tide_nix_shell_color (set -q DIRENV_DIR && echo "FFA500" || echo "blue")
|
||||
set -U tide_nix_shell_bg_color normal
|
||||
_tide_print_item nix_shell "❄"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue