From 324ffc1e53d185ea4a7e9e6c36375cabb6f56e29 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 27 Nov 2023 06:52:14 -0500 Subject: [PATCH] nushell: remove prompt indicators & add config --- home/nushell/config.nu | 3 ++- home/nushell/env.nu | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/home/nushell/config.nu b/home/nushell/config.nu index af855d6..6892e78 100755 --- a/home/nushell/config.nu +++ b/home/nushell/config.nu @@ -28,7 +28,8 @@ alias sxfix = nix run "nixpkgs#statix" -- fix alias dl = yt-dlp -P ~/Videos/downloaded alias dlcd = yt-dlp alias up = rpaste -s "https://i.flake.sh/" -e 1day -alias tail = spin +alias tail = tspin +nitch $env.config = { diff --git a/home/nushell/env.nu b/home/nushell/env.nu index 1056338..129a848 100755 --- a/home/nushell/env.nu +++ b/home/nushell/env.nu @@ -18,10 +18,10 @@ def create_right_prompt [] { $env.PROMPT_COMMAND = {|| create_left_prompt } $env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt } -$env.PROMPT_INDICATOR = {|| "〉" } -$env.PROMPT_INDICATOR_VI_INSERT = {|| ": " } -$env.PROMPT_INDICATOR_VI_NORMAL = {|| "〉" } -$env.PROMPT_MULTILINE_INDICATOR = {|| "::: " } +$env.PROMPT_INDICATOR = {|| "" } +$env.PROMPT_INDICATOR_VI_INSERT = {|| "" } +$env.PROMPT_INDICATOR_VI_NORMAL = {|| "" } +$env.PROMPT_MULTILINE_INDICATOR = {|| "" } $env.ENV_CONVERSIONS = { "PATH": { from_string: { |s| $s | split row (char esep) | path expand -n }