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.

Revisions

  1. douglarek revised this gist Nov 23, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 00-my.fish
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # 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
  2. douglarek revised this gist Nov 23, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 00-my.fish
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    # https://www.reddit.com/r/fishshell/comments/19bf195/where_do_you_set_your_environment_variables/

    # 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
  3. douglarek created this gist Nov 23, 2025.
    37 changes: 37 additions & 0 deletions 00-my.fish
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    # https://www.reddit.com/r/fishshell/comments/19bf195/where_do_you_set_your_environment_variables/

    # global env
    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