diff --git a/home/modules/shell/config.nu b/home/modules/shell/config.nu index 10355b6..d232fc8 100644 --- a/home/modules/shell/config.nu +++ b/home/modules/shell/config.nu @@ -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' }] }) diff --git a/home/modules/shell/shell.nix b/home/modules/shell/shell.nix index e9127fe..e3fe65a 100644 --- a/home/modules/shell/shell.nix +++ b/home/modules/shell/shell.nix @@ -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;