A Fishy Wiki

Stuff and things

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:fish [2019-03-14 23:39]
Tom created
linux:fish [2019-03-27 18:06] (current)
Line 1: Line 1:
-====== Fish config ======+====== Fish shell config ​& setup ======
 ## Install Fish  ​ ## Install Fish  ​
-<​code>​+<​code ​bash>
 sudo apt-add-repository ppa:​fish-shell/​release-3 sudo apt-add-repository ppa:​fish-shell/​release-3
-sudo apt-get update +sudo apt update 
-sudo apt-get install fish+sudo apt install fish
 </​code>​ </​code>​
 ## Set as default shell  ​ ## Set as default shell  ​
-<​code>​+<​code ​bash>
 usermod -s /​usr/​bin/​fish tom usermod -s /​usr/​bin/​fish tom
Line 22: Line 22:
 ## Install omf  ​ ## Install omf  ​
-<​code>​+<​code ​bash>
 curl -L https://​get.oh-my.fish | fish curl -L https://​get.oh-my.fish | fish
 </​code>​ </​code>​
Line 29: Line 29:
 ## Bob the fish theme  ​ ## Bob the fish theme  ​
-<​code>​+<​code ​bash>
 omf install bobthefish omf install bobthefish
 </​code>​ </​code>​
-## Startup config ​(mostly aliases and stuff from old .bashrc  +## Config ​(in conf.d
-<​code>​ +<​code ​bash aliases.fish
-#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 --console-title --sleep-interval 3"
-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 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 neofetch="​neofetch --ascii_distro ubuntu-budgie --config==/​etc/​neofetch/​config.conf"​
 alias nf="​neofetch"​ alias nf="​neofetch"​
 alias apti="​sudo apt install"​ alias apti="​sudo apt install"​
 +alias gimmie="​sudo apt install -y"
 alias aptu="​sudo apt update && sudo apt upgrade"​ alias aptu="​sudo apt update && sudo apt upgrade"​
 alias rm="rm -v -I" alias rm="rm -v -I"
 alias m="​sudo mount /​media/​tom/​proliant/​raid/"​ alias m="​sudo mount /​media/​tom/​proliant/​raid/"​
- +</​code>​ 
-#Fish bobthefish theme stuff+<code bash theme_settings.fish>​
 set -g theme_display_user yes set -g theme_display_user yes
 set -g theme_display_hostname no set -g theme_display_hostname no
Line 59: Line 55:
 set -g theme_show_exit_status yes set -g theme_show_exit_status yes
 set -g fish_prompt_pwd_dir_length 3 set -g fish_prompt_pwd_dir_length 3
 +## Remove uname greeting thing
 +function fish_greeting
-#clear +funcsave fish_greeting
 </​code>​ </​code>​
/var/www/dokuwiki/data/attic/linux/fish.1552606776.txt.gz · Last modified: 2019-03-14 23:39 by Tom