Index ¦ Archives

Fish

The friendly interactive shell (fish) is a Unix shell that attempts to be more interactive and user-friendly than those with a longer history or those formulated as function-compatible replacements for the aforementioned. The design goal of fish is to give the user a rich set of powerful features in a way that is easy to discover, remember, and use. Fish is considered an "exotic shell", in that its syntax derives from neither the Bourne shell (ksh, Bash, zsh) nor the C shell (csh, tcsh). Also unlike previous shells, which disable certain features by default to save system resources, fish enables all features by default.

Install

sudo apt install fish

Oh-my-fish

curl -L https://get.oh-my.fish | fish

omf install <theme>

nvim ~/.config/fish/config.fish

set fish_greeting
set -U fish_color_normal normal
set -U fish_color_command ffffff
set -U fish_color_quote a8a8a8
set -U fish_color_redirection 808080
set -U fish_color_end 949494
set -U fish_color_error 585858
set -U fish_color_param d7d7d7
set -U fish_color_selection white --bold --background=brblack
set -U fish_color_search_match bryellow --background=brblack
set -U fish_color_history_current --bold
set -U fish_color_operator 00a6b2
set -U fish_color_escape 00a6b2
set -U fish_color_cwd green
set -U fish_color_cwd_root red
set -U fish_color_valid_path --underline
set -U fish_color_autosuggestion 777777
set -U fish_color_user brgreen
set -U fish_color_host normal
set -U fish_color_cancel -r
set -U fish_pager_color_completion normal
set -U fish_pager_color_description B3A06D yellow
set -U fish_pager_color_prefix white --bold --underline
set -U fish_pager_color_progress brwhite --background=cyan
set -U fish_color_comment bcbcbc
set -U fish_color_match --background=brblue

if test "$DISPLAY" = ""
    startx
end

Fish

© 2000-2018 by Daniel Pimentel (d4n1). Under MIT.