A Fishy Wiki

Stuff and things

User Tools

Site Tools


Fish shell config & setup

Install Fish

sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt install fish

Set as default shell

usermod -s /usr/bin/fish tom
#in fish
chsh -s (which fish)
#in bash
chsh -s `which fish`

Install omf

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

Bob the fish theme

omf install bobthefish

Config (in conf.d)

alias yt4="youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --verbose -i --continue --no-mtime --newline --console-title --sleep-interval 3"
alias yt3="youtube-dl -f 'bestaudio[ext=mp3]/best[ext=mp3]/best' --verbose -i"
alias neofetch="neofetch --ascii_distro ubuntu-budgie --config==/etc/neofetch/config.conf"
alias nf="neofetch"
alias apti="sudo apt install"
alias gimmie="sudo apt install -y"
alias aptu="sudo apt update && sudo apt upgrade"
alias rm="rm -v -I"
alias m="sudo mount /media/tom/proliant/raid/"
set -g theme_display_user yes
set -g theme_display_hostname no
set -g theme_display_date no
set -g theme_powerline_fonts no
set -g theme_nerd_fonts no
set -g theme_title_display_process yes
set -g theme_show_exit_status yes
set -g fish_prompt_pwd_dir_length 3

Remove uname greeting thing

function fish_greeting

funcsave fish_greeting
/var/www/dokuwiki/data/pages/linux/fish.txt ยท Last modified: 2019-03-27 18:06 by Tom