From 16bb2ccc064d268e840d29c77d4bd82dd62773c2 Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 15 Apr 2023 21:43:07 -0400 Subject: [PATCH] chore: remove starship bandaid --- home/nushell/env.nu | 7 +------ home/starship/default.nix | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/home/nushell/env.nu b/home/nushell/env.nu index 4b4a340..fe3dd0c 100755 --- a/home/nushell/env.nu +++ b/home/nushell/env.nu @@ -39,9 +39,4 @@ let-env NU_LIB_DIRS = [ let-env NU_PLUGIN_DIRS = [ ($nu.config-path | path dirname | path join 'plugins') -] - -starship init nu -| str replace --string 'PROMPT_COMMAND = {' 'PROMPT_COMMAND = { ||' -| str replace --string 'PROMPT_COMMAND_RIGHT = {' 'PROMPT_COMMAND_RIGHT = { ||' -| save -f ~/.cache/starship/init.nu \ No newline at end of file +] \ No newline at end of file diff --git a/home/starship/default.nix b/home/starship/default.nix index 4286da5..7469df7 100644 --- a/home/starship/default.nix +++ b/home/starship/default.nix @@ -7,7 +7,7 @@ programs.starship = { enable = true; - enableNushellIntegration = false; #integration broken since nushell 0.78 + enableNushellIntegration = true; settings = { format = lib.concatStrings [ "[░▒▓](#f5c2e7)"