non important commit

This commit is contained in:
Jiří Maxmilián Stříbrný 2026-03-15 20:27:46 +01:00
parent ea48fbc85f
commit 2ed8587f21
2 changed files with 2 additions and 33 deletions

View file

@ -42,5 +42,5 @@ $env.config.keybindings = ($env.config.keybindings | append {
modifier: "control"
keycode: "char_e"
mode: "emacs"
event: [{ send: "executehostcommand" cmd: 'fzf-nvim' }]
event: [{ send: "executehostcommand" cmd: 'fzf-edit' }]
})

View file

@ -49,39 +49,8 @@
enable = true;
enableNushellIntegration = true;
enableTransience = true;
settings = {
format = "\${custom.shell_nix}\${custom.shell_normal}$directory\n$character";
character = {
success_symbol = "[~>](#92D4FE)";
error_symbol = "[~>](#D81E5B)";
format = "$symbol ";
};
directory = {
format = "[ $path ](bg:#303C68 fg:white)[](fg:#303C68)";
truncation_length = 1;
truncate_to_repo = false;
};
custom = {
shell_nix = {
description = "Nix shell indicator";
command = "echo";
when = ''test -n "$IN_NIX_SHELL"'';
format = "[ nix-shell ](bg:#D81E5B fg:white)[](fg:#D81E5B)";
shell = ["bash" "--noprofile" "--norc"];
};
shell_normal = {
description = "Current shell indicator";
command = "echo";
when = ''test -z "$IN_NIX_SHELL"'';
format = "[ nu ](bg:#92D4FE fg:black)[](fg:#92D4FE)";
shell = ["bash" "--noprofile" "--norc"];
};
};
};
};
gtk.enable = true;
qt.enable = true;