docs(fish): better starfish prompt
This commit is contained in:
parent
7848ed1168
commit
d97531a1d1
@ -140,6 +140,8 @@ $rlang\
|
|||||||
$rust\
|
$rust\
|
||||||
$scala\
|
$scala\
|
||||||
$zig\
|
$zig\
|
||||||
|
$nix_shell\
|
||||||
|
$direnv\
|
||||||
$memory_usage\
|
$memory_usage\
|
||||||
$env_var\
|
$env_var\
|
||||||
$custom\
|
$custom\
|
||||||
@ -163,6 +165,23 @@ symbol = "λ "
|
|||||||
style = "bold green"
|
style = "bold green"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Some module configurations don’t exactly sit right with me, so let’s
|
||||||
|
tweak them a bit.
|
||||||
|
#+begin_src toml
|
||||||
|
[nix_shell]
|
||||||
|
format = '[$symbol$state( \($name\))]($style)'
|
||||||
|
symbol = '❄️ '
|
||||||
|
|
||||||
|
[shlvl]
|
||||||
|
disabled = false
|
||||||
|
threshold = 3
|
||||||
|
|
||||||
|
[direnv]
|
||||||
|
disabled = false
|
||||||
|
detect_files = ['.envrc', '.env']
|
||||||
|
symbol = ' '
|
||||||
|
#+end_src
|
||||||
|
|
||||||
Finally, let’s disable all modules I don’t need.
|
Finally, let’s disable all modules I don’t need.
|
||||||
#+begin_src toml
|
#+begin_src toml
|
||||||
[cobol]
|
[cobol]
|
||||||
@ -209,8 +228,6 @@ disable = true
|
|||||||
disable = true
|
disable = true
|
||||||
[vagrant]
|
[vagrant]
|
||||||
disable = true
|
disable = true
|
||||||
[nix_shell]
|
|
||||||
disable = true
|
|
||||||
[conda]
|
[conda]
|
||||||
disable = true
|
disable = true
|
||||||
[aws]
|
[aws]
|
||||||
|
Loading…
Reference in New Issue
Block a user