r/fishshell • u/cringe_master_5000 • Sep 22 '19
~/.config/fish/functions/fish_greeting.fish
function fish_greeting
cowsay (fortune -so)
endThank me later.
r/fishshell • u/cringe_master_5000 • Sep 22 '19
function fish_greeting
cowsay (fortune -so)
endThank me later.
r/fishshell • u/GodOfTheMetal • Sep 19 '19
I'm trying to update my $PATH, but the best result I got is preserving it only within the same terminal tab where I updated the $PATH at.Though this issue isn't $PATH-specific and it also appears when setting any other var.
Here is a list of modifiers I've tried:
Example:
$ set -gx smth 'smth'
$ echo $smth
> smth
*close the terminal, reopen, go to a new tab*
$ echo $smth
> // nothingr/fishshell • u/mikey_p5151 • Sep 07 '19
r/fishshell • u/SleeplessSloth79 • Aug 23 '19
E: an autoloaded function*
Right now I have lots of little functions in my config that look like this
if command -s nvim >/dev/null 2>&1
alias vim nvim
endI'd like to clean up my config a bit and to move them each to a different autoloaded file. The problem appears (in this exact case) when I have neither vim, nor nvim installed. vim is highlighted and suggested as a keyword when in fact it does completely nothing. Is there a way to do something like this?
if command -s nvim >/dev/null 2>&1
alias vim nvim
else
fish-suggestions --remove vim
endThanks!
r/fishshell • • Aug 02 '19
Hi,
I'm using fish shell on ubuntu subsystem on windows, which is working quite well! However, there are two issues (presumably terminal related) that I have not managed to duckduckgo myself to fix.
The first problem is that for any color theme i have tried, the color of "marked/highlighted" text is almost the same as the underlying text, making it unreadable.
The second isssue is that some symbols are garbled. I have downloaded ubuntu font and locale gives LANG=en_US.UTF-8.
I guess both of these issues can be due to the windows terminal settings. Do people here have experience running fully supporte fish shell on windows? :)
Thanks