Skip to content

Instantly share code, notes, and snippets.

@douglarek
Last active November 23, 2025 04:37
Show Gist options
  • Select an option

  • Save douglarek/c547cdd748247f716f7187162d739e8c to your computer and use it in GitHub Desktop.

Select an option

Save douglarek/c547cdd748247f716f7187162d739e8c to your computer and use it in GitHub Desktop.
save it to ~/.config/fish/conf.d/00-my.fish
# https://www.reddit.com/r/fishshell/comments/19bf195/where_do_you_set_your_environment_variables/
# tide configure --auto --style=Lean --prompt_colors='True color' --show_time=No --lean_prompt_height='One line' --prompt_spacing=Compact --icons='Few icons' --transient=Yes
# global env
set fish_greeting
set -gx LC_ALL en_US.UTF-8
set -gx LANG en_US.UTF-8
set -gx LANGUAGE en_US.UTF-8
set -gx GPG_TTY $TTY
set -gx TMOUT 0
# add go bin path
if type -q go
if set gopath (go env GOPATH 2>/dev/null)
if test -n "$gopath"
set -gx PATH "$gopath/bin" $PATH
end
end
end
# alias
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
if type -q vim
alias vim='vim'
else if type -q nvim
alias vim='nvim'
end
# https://wiki.gentoo.org/wiki/Node.js
set -gx NPM_CONFIG_PREFIX "$HOME/.local/nodejs"
set -gx PATH "$NPM_CONFIG_PREFIX/bin" $PATH
# bun.js
set -gx BUN_INSTALL "$HOME/.bun"
set -gx PATH "$BUN_INSTALL/bin" $PATH
## aws bedrock
set -gx AWS_PROFILE default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment