nushell: remove prompt indicators & add config
This commit is contained in:
parent
74befe026b
commit
324ffc1e53
2 changed files with 6 additions and 5 deletions
|
@ -28,7 +28,8 @@ alias sxfix = nix run "nixpkgs#statix" -- fix
|
||||||
alias dl = yt-dlp -P ~/Videos/downloaded
|
alias dl = yt-dlp -P ~/Videos/downloaded
|
||||||
alias dlcd = yt-dlp
|
alias dlcd = yt-dlp
|
||||||
alias up = rpaste -s "https://i.flake.sh/" -e 1day
|
alias up = rpaste -s "https://i.flake.sh/" -e 1day
|
||||||
alias tail = spin
|
alias tail = tspin
|
||||||
|
nitch
|
||||||
|
|
||||||
$env.config = {
|
$env.config = {
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@ def create_right_prompt [] {
|
||||||
|
|
||||||
$env.PROMPT_COMMAND = {|| create_left_prompt }
|
$env.PROMPT_COMMAND = {|| create_left_prompt }
|
||||||
$env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt }
|
$env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt }
|
||||||
$env.PROMPT_INDICATOR = {|| "〉" }
|
$env.PROMPT_INDICATOR = {|| "" }
|
||||||
$env.PROMPT_INDICATOR_VI_INSERT = {|| ": " }
|
$env.PROMPT_INDICATOR_VI_INSERT = {|| "" }
|
||||||
$env.PROMPT_INDICATOR_VI_NORMAL = {|| "〉" }
|
$env.PROMPT_INDICATOR_VI_NORMAL = {|| "" }
|
||||||
$env.PROMPT_MULTILINE_INDICATOR = {|| "::: " }
|
$env.PROMPT_MULTILINE_INDICATOR = {|| "" }
|
||||||
$env.ENV_CONVERSIONS = {
|
$env.ENV_CONVERSIONS = {
|
||||||
"PATH": {
|
"PATH": {
|
||||||
from_string: { |s| $s | split row (char esep) | path expand -n }
|
from_string: { |s| $s | split row (char esep) | path expand -n }
|
||||||
|
|
Loading…
Reference in a new issue