Fish: Difference between revisions

From James's Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
and add this path:
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
  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