I'm using fish 2.0 on Linux, but this might be an installation error, since my ~/.config/fish/config.fish is empty.
Asked
Active
Viewed 2.2k times
15
SuperCheezGi
- 265
3 Answers
0
I make a alternative prompt if starship prompt dosen't exist.
# default prompt
function fish_prompt
echo ''
set_color cyan; echo (pwd)
set_color green; echo '> '
end
starship prompt
if type -q starship
starship init fish | source
else
fish_prompt
end
user2385294
- 1
- 1
-2
This worked for me:
~/.local/share/omf/init.fish
function fish_prompt
echo (pwd) '> '
end
Gareth
- 19,080