feat(console): update

This commit is contained in:
Pavel Korytov 2023-01-02 12:01:25 +03:00
parent 1e5a588ef5
commit e7391ff088
2 changed files with 2 additions and 41 deletions

View file

@ -22,7 +22,7 @@
"xclip"
"python-tmuxp"
"tmux"
"rust-starship"
"starship-bin"
"nushell-bin"
"dt-colorscripts"
"fish"

View file

@ -522,49 +522,10 @@ direnv hook fish | source
A structured shell. I don't use it as of now, but perhaps one day.
Set starship prompt
#+begin_src conf-toml :noweb yes
startup = [
<<nu-aliases>>,
"mkdir ~/.cache/starship",
"starship init nu | save ~/.cache/starship/init.nu",
"source ~/.cache/starship/init.nu",
]
prompt = "starship_prompt"
#+end_src
Skip welcome message
#+begin_src conf-toml
skip_welcome_message = true
#+end_src
Set table mode
#+begin_src conf-toml
table_mode = "rounded"
#+end_src
Aliases
#+begin_src conf-toml :tangle no :noweb-ref nu-aliases
"alias ll = ls -l",
"alias c = clear",
"alias q = exit"
#+end_src
Colors
#+begin_src conf-toml
[color_config]
primitive_filesize="ub"
primitive_boolean="yu"
primitive_duration="g"
primitive_path="y"
primitive_date="r"
primitive_int="c"
primitive_decimal="c"
#+end_src
* Starship prompt
| Guix dependency | Description |
|-----------------+---------------------|
| rust-starship | my prompt of choice |
| starship-bin | my prompt of choice |
[[https://starship.rs/][Starship]] is a nice cross-shell prompt, written in Rust.