~/.config/fish/config.fish
set -x PATH $PATH /Users/timmatt/Library/Python/3.8/bin
set -x PATH $PATH /Users/timmatt/.toolbox/bin
set -x PATH $PATH /Users/timmatt/.toolbox/bin/brazil
set -x PATH $PATH /Users/timmatt/.cargo/bin
set -x PATH $PATH /Users/timmatt/Dropbox/github/personal-tools
set -x PATH /usr/local/bin $PATH
set -x PATH $PATH /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.2.0/Contents/Home/bin
function fish_prompt --description 'Write out the prompt'
set -l color_cwd
set -l suffix
switch "$USER"
case root toor
if set -q fish_color_cwd_root
set color_cwd $fish_color_cwd_root
else
set color_cwd $fish_color_cwd
end
set suffix '#'
case '*'
set color_cwd $fish_color_cwd
set suffix '>'
end
echo -n -s (set_color $color_cwd) (prompt_pwd) (set_color normal) "$suffix "
end
alias j14="export JAVA_HOME=(/usr/libexec/java_home -v 14); java -version"
alias j11="export JAVA_HOME=(/usr/libexec/java_home -v 11); java -version"
alias j8="export JAVA_HOME=(/usr/libexec/java_home -v 1.8); java -version"