[Fish] No more fish_greeting

This commit is contained in:
Lucien Cartier-Tilet 2023-02-22 15:34:56 +01:00
parent e47c31d637
commit 843348a096
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -78,12 +78,11 @@ end
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Regular_fish_shell_appearance-c3e532e1 :CUSTOM_ID: Regular_fish_shell_appearance-c3e532e1
:END: :END:
Now, there is only one function I modify when it comes to the appearance of fish Now, there is only one function I modify when it comes to the
when Im the one using it: the ~fish_greeting~ function. I use it to display the output of [[https://labs.phundrak.com/phundrak/pumo-system-info][a utility I wrote]]. appearance of fish when Im the one using it: the ~fish_greeting~
function. I just want it empty.
#+BEGIN_SRC fish #+BEGIN_SRC fish
function fish_greeting function fish_greeting; end
which pumo-system-info 2&> /dev/null && pumo-system-info
end
#+END_SRC #+END_SRC
For my fish prompt, I use [[https://starship.rs][starship]], a shell-agnostic prompt. Lets load it: For my fish prompt, I use [[https://starship.rs][starship]], a shell-agnostic prompt. Lets load it: