A Fishy Wiki

Stuff and things

User Tools

Site Tools


**This is an old revision of the document!**

Fish shell config & setup

Install Fish

sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get 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

Startup config (mostly aliases and stuff from old .bashrc)

#haste() { a=$(cat); curl -X POST -s -d "$a" https://hastebin.com/documents | awk -F '"' '{print "https://hastebin.com/"$4}'; }
alias yt4="youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --verbose -i --continue --no-mtime --newline --cons$
alias yt3="youtube-dl -f 'bestaudio[ext=mp3]/best[ext=mp3]/best' --verbose -i"
alias sshp="ssh root@"
alias ssh3="ssh tom@"
alias ssh0="ssh tom@"
alias sshr="ssh tom@"
alias neofetch="neofetch --ascii_distro ubuntu-budgie --config==/etc/neofetch/config.conf"
alias nf="neofetch"
alias apti="sudo apt install"
alias aptu="sudo apt update && sudo apt upgrade"
alias rm="rm -v -I"
alias m="sudo mount /media/tom/proliant/raid/"

#Fish bobthefish theme stuff
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/attic/linux/fish.1552611351.txt.gz ยท Last modified: 2019-03-15 00:55 by Tom