mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
feat(console): add nushell
This commit is contained in:
parent
59d56cfb8a
commit
68c28de2c6
3 changed files with 52 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
(cons*
|
(cons*
|
||||||
(channel
|
(channel
|
||||||
(name 'channel-q)
|
(name 'channel-q)
|
||||||
(url "https://github.com/SqrtMinusOne/channel-q.git"))
|
(url "file:///home/pavel/Code/channel-q"))
|
||||||
(channel
|
(channel
|
||||||
(name 'flat)
|
(name 'flat)
|
||||||
(url "https://github.com/flatwhatson/guix-channel.git")
|
(url "https://github.com/flatwhatson/guix-channel.git")
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
"python-tmuxp"
|
"python-tmuxp"
|
||||||
"tmux"
|
"tmux"
|
||||||
"rust-starship"
|
"rust-starship"
|
||||||
|
"nushell-bin"
|
||||||
"dt-colorscripts"
|
"dt-colorscripts"
|
||||||
"fish"
|
"fish"
|
||||||
"xhost"
|
"xhost"
|
||||||
|
|
|
||||||
50
Console.org
50
Console.org
|
|
@ -31,6 +31,7 @@
|
||||||
- [[#anaconda][Anaconda]]
|
- [[#anaconda][Anaconda]]
|
||||||
- [[#starship-prompt][Starship prompt]]
|
- [[#starship-prompt][Starship prompt]]
|
||||||
- [[#fish][Fish]]
|
- [[#fish][Fish]]
|
||||||
|
- [[#nushell][Nushell]]
|
||||||
- [[#starship-prompt][Starship prompt]]
|
- [[#starship-prompt][Starship prompt]]
|
||||||
- [[#tmux][Tmux]]
|
- [[#tmux][Tmux]]
|
||||||
- [[#term-settings][Term settings]]
|
- [[#term-settings][Term settings]]
|
||||||
|
|
@ -439,6 +440,55 @@ Suppress fish greeting
|
||||||
#+begin_src fish
|
#+begin_src fish
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* Nushell
|
||||||
|
:PROPERTIES:
|
||||||
|
:header-args+: :tangle ./.config/nu/config.toml :comments link
|
||||||
|
:END:
|
||||||
|
| Guix dependency |
|
||||||
|
|-----------------|
|
||||||
|
| nushell-bin |
|
||||||
|
|
||||||
|
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
|
* Starship prompt
|
||||||
| Guix dependency | Description |
|
| Guix dependency | Description |
|
||||||
|-----------------+---------------------|
|
|-----------------+---------------------|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue