Skip to content

Instantly share code, notes, and snippets.

@boynoiz
Last active February 15, 2023 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boynoiz/9140255cd7ccacfdd6c615059ed2192d to your computer and use it in GitHub Desktop.
Save boynoiz/9140255cd7ccacfdd6c615059ed2192d to your computer and use it in GitHub Desktop.
My fish
#set PATH
set PATH $HOME/bin $HOME/.local/bin /usr/local/bin /usr/share /usr/local/go/bin $GOPATH/bin $PATH
#encoding
set LANG en_US.UTF-8
set LANGUAGE en_US.UTF-8
set LC_ALL en_US.UTF-8
set LC_MESSAGES en_US.UTF-8
# Load all function
#if test -f ~/.config/fish/config.fish
# . ~/.config/fish/config.fish
#end
# SSH Agent
# https://github.com/ivakyb/fish_ssh_agent
fish_ssh_agent
# set alias
. ~/.config/fish/alias.fish
# set encoding
set -gx LANG en_US.UTF-8
set -gx LANGUAGE en_US.UTF-8
#command -v vg >/dev/null 2>&1; and vg eval --shell fish | source
# Kruw
set -gx PATH $PATH $HOME/.krew/bin
# Windows X-Server
set -gx DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
# pyenv
# set -U fish_user_paths $HOME/.pyenv/bin $fish_user_paths
# pyenv init
# if command -v pyenv 1>/dev/null 2>&1
# pyenv init - | source
# end
# Rust
set -gx PATH $PATH $HOME/.cargo/bin
# Starship
starship init fish | source
# Homebrew
eval (/home/linuxbrew/.linuxbrew/bin/brew shellenv)
# The Fuck
thefuck --alias | source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment