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

Both sides previous revision Previous revision
Next revision
Previous revision
linux:fish [2019-03-15 22:17]
linux:fish [2019-03-27 18:06] (current)
Line 2: Line 2:
 ## 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 update sudo apt update
Line 10: Line 10:
 ## 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 --console-title --sleep-interval 3"
 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"
Line 42: Line 41:
 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 55: 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
 </​code>​ </​code>​
/var/www/dokuwiki/data/attic/linux/fish.1552688270.txt.gz · Last modified: 2019-03-15 22:17 by Tom