Fish: Difference between revisions

From James's Wiki
(Created page with "set fish as default shell chsh -s /usr/bin/fish")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


  chsh -s /usr/bin/fish
  chsh -s /usr/bin/fish
on osmc:
make a file with the path statement in it like this:
nano .config/fish/config.fish
and add this path:
set -x PATH $PATH /usr/local/bin /usr/bin /bin /usr/local/games /usr/games /sbin /usr/sbin /usr/osmc/bin /opt/vc/bin
add to path:
set -U fish_user_paths /usr/local/bin $fish_user_paths
To change the prompt:
fish_config prompt

Latest revision as of 18:12, 4 February 2023

set fish as default shell

chsh -s /usr/bin/fish


on osmc: make a file with the path statement in it like this:

nano .config/fish/config.fish

and add this path:

set -x PATH $PATH /usr/local/bin /usr/bin /bin /usr/local/games /usr/games /sbin /usr/sbin /usr/osmc/bin /opt/vc/bin

add to path:

set -U fish_user_paths /usr/local/bin $fish_user_paths

To change the prompt: fish_config prompt