dotfiles/fish/config.fish

35 lines
965 B
Fish

# SETS
#source ~/.config/fish/fish.d/*.fish
# set
set -x PATH /usr/lib/go-1.12/bin $PATH
set -x PATH ~/.gem/ruby/*/bin $PATH
set -x PATH ~/Coding/go/bin $PATH
set -x PATH ~/.local/bin $PATH
set -x PATH /usr/lib/jvm/default/bin $PATH
set -gx QT_QPA_PLATFORMTHEME qt6ct
set -gx QT_QPA_PLATFORM wayland
set -gx GOPATH ~/Coding/go
set -gx EDITOR nvim
# Base16 Shell
#if status --is-interactive
# set BASE16_SHELL "$HOME/.config/base16-shell/"
# source "$BASE16_SHELL/profile_helper.fish"
#end
set -gx MOZ_ENABLE_WAYLAND 1
set -gx MOZ_DBUS_REMOTE 1
# ALIAS
alias vim nvim
alias config '/usr/bin/git --git-dir=$HOME/Documents/dotfiles --work-tree $HOME/.config'
# PROMPT
set -U fish_prompt_pwd_dir_length 0
function fish_prompt -d "Write out the prompt"
printf '[%s%s%s@%s%s %s%s%s]$ ' (set_color $fish_color_user) (whoami) (set_color normal) (set_color $fish_color_host) (hostname | cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
end