non important commit
This commit is contained in:
parent
ea48fbc85f
commit
2ed8587f21
2 changed files with 2 additions and 33 deletions
|
|
@ -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' }]
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue