LINUXOPOLIS # 05-FEBRUARY-2020 ~ FISH-CONFIGURATION


FISH-CONFIGURATION

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous
screenshot by willi glenz
vim ~/.config/fish/functions/gfish-configuration.fish

function gfish-configuration --description 'fish-configuration'
    clear; echo
    echo '=========================================================================='
    echo '                            FISH-CONFIGURATION                            '
    echo '=========================================================================='
    echo 'SHELL                                                                     '
    echo ' $ cat /etc/shells                                                        '
    echo ' $ chsh -s /usr/bin/fish                                                  '
    echo '--------------------------------------------------------------------------'
    echo 'PATHS                                                                     '
    echo ' $ cd ~/.config/fish/functions                                            '
    echo ' $ cd ~/.config/fish                                                      '
   echo '      set PATH /home/user/Apps/ $PATH                                     '
    echo ' $ echo $PATH                                                             '
    echo ' $ count $PATH                                                            '
    echo ' $ echo $PATH[1]                                                          '
    echo ' $ echo $PATH[-1..2]                                                      '
    echo '--------------------------------------------------------------------------'
    echo 'FILES                                                                      '
    echo '      set PATH /home/user/Apps/ $PATH                                     '
    echo ' $ vim~/.config/fish/config.fish                                         '
    echo ' $ vim ~/.config/fish/fish_variables                                      '
    echo '=========================================================================='
    echo
    for item in $PATH
        echo "entry: $item"
    end
    echo
end
SOURCES
 homepage ............................................................. fishshell.com
 documentation ................................ fishshell.com/docs/current/index.html
 tutorial ......................... fishshell.com/docs/current/tutorial.html#tut_path
 github ............................................ github.com/fish-shell/fish-shell
 picture ....................................... screenshoot by me ~ my gnome-desktop

Comments 0