A Fishy Wiki

Stuff and things

User Tools

Site Tools


linux:fish

Differences

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 00:55]
Tom
linux:fish [2019-03-27 18:06] (current)
Tom
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-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@10.0.0.4"​ 
-alias ssh3="​ssh tom@10.0.0.5"​ 
-alias ssh0="​ssh tom@10.0.0.2"​ 
-alias sshr="​ssh tom@10.0.0.1"​ 
 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
- 
-#clear 
-#neofetch 
 </​code>​ </​code>​
  
/var/www/dokuwiki/data/attic/linux/fish.1552611351.txt.gz · Last modified: 2019-03-15 00:55 by Tom