nushell: remove prompt indicators & add config

This commit is contained in:
notohh 2023-11-27 06:52:14 -05:00
parent 74befe026b
commit 324ffc1e53
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 6 additions and 5 deletions

View file

@ -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 = {

View file

@ -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 }