fish-shell

fish shell stuff

set fish as your default shell

chsh -s 'which fish'

append to the fish user path ($fish_user_paths)

set -U fish_user_paths /path/to/add $fish_user_paths

set env variables

  • vim ~/.config/fish/config.fish
  • then set -x MY_VAR my_var
  • echo MY_VAR -> my_var

example:

set -x NODE_HOME /home/skrymer/coding/node/node-v8.11.3-linux-x64
set -x JAVA_HOME /home/skrymer/coding/java/jdk1.8.0_172
set -x GRADLE_HOME /home/skrymer/coding/gradle/gradle-4.8-rc-3
set -x MAVEN_HOME /home/skrymer/coding/maven/apache-maven-3.5.4

Install sdkman

Install NVM

Install Oh My Fish

Fish config file - ~/.config/fish/config.fish

# GIT abbreviations
abbr gclb git checkout
abbr gcrb git checkout -b
abbr gf git fetch
abbr gc git commit
abbr gp git pull
abbr gmm git merge origin/master