console: starship symbols & disable vi bindings in vterm

This commit is contained in:
Pavel Korytov 2024-01-11 01:48:54 +03:00
parent 4ccc0bbc41
commit 85f8b320c4
3 changed files with 14 additions and 6 deletions

View file

@ -10,7 +10,11 @@ end
# Fish:1 ends here
# [[file:../../Console.org::*Fish][Fish:2]]
fish_vi_key_bindings
if [ "$IS_VTERM" != "1" ];
fish_vi_key_bindings
else
fish_default_key_bindings
end
alias q="exit"
alias c="clear"

View file

@ -1,7 +1,7 @@
# [[file:../Console.org::*Starship prompt][Starship prompt:1]]
[character]
success_symbol = "[ ](bold green)"
error_symbol = "[ ](bold red)"
success_symbol = "[> ](bold green)"
error_symbol = "[ ](bold red)"
vicmd_symbol = "[ᐊ ](bold green)"
[aws]

View file

@ -495,7 +495,11 @@ end
Enable vi keybindings & aliases. The alias syntax is the same as in bash, so it's just a noweb reference to =.bashrc=.
#+begin_src fish :noweb yes
fish_vi_key_bindings
if [ "$IS_VTERM" != "1" ];
fish_vi_key_bindings
else
fish_default_key_bindings
end
alias q="exit"
alias c="clear"
@ -602,8 +606,8 @@ References:
#+begin_src conf-toml :tangle ./.config/starship.toml
[character]
success_symbol = "[ ](bold green)"
error_symbol = "[ ](bold red)"
success_symbol = "[> ](bold green)"
error_symbol = "[ ](bold red)"
vicmd_symbol = "[ᐊ ](bold green)"
[aws]