Update .config/fish/conf.d/30-cargo.fish

Update .config/fish/conf.d/30-go.fish
Update .config/fish/conf.d/30-java.fish
Update .config/fish/conf.d/30-nvidia.fish
Update .config/fish/conf.d/30-python.fish
Update .config/fish/conf.d/30-wget.fish
This commit is contained in:
punkfairie 2024-10-05 10:39:14 -07:00
parent 9e948937f1
commit 61e4934c86
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
6 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env fish
set -Ux CARGO_HOME "$XDG_DATA_HOME/cargo"
set -gx CARGO_HOME "$XDG_DATA_HOME/cargo"

View file

@ -1,7 +1,7 @@
#!/usr/bin/env fish
set -Ux GOPATH "$XDG_DATA_HOME/go"
set -Ux GOMODCACHE "$XDG_CACHE_HOME/go/mod"
set -gx GOPATH "$XDG_DATA_HOME/go"
set -gx GOMODCACHE "$XDG_CACHE_HOME/go/mod"
if command -v go &>/dev/null
fish_add_path "$XDG_DATA_HOME/go/bin"

View file

@ -1,3 +1,3 @@
#!/usr/bin/env fish
set -Ux _JAVA_OPTIONS -Djavafx.cachedir="$XDG_CACHE_HOME"/openjfx -Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
set -gx _JAVA_OPTIONS -Djavafx.cachedir="$XDG_CACHE_HOME"/openjfx -Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java

View file

@ -1,3 +1,3 @@
#!/usr/bin/env fish
set -Ux CUDA_CACHE_PATH "$XDG_CACHE_HOME/nv"
set -gx CUDA_CACHE_PATH "$XDG_CACHE_HOME/nv"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env fish
set -Ux PYTHON_HISTORY "$XDG_STATE_HOME/python/history"
set -gx PYTHON_HISTORY "$XDG_STATE_HOME/python/history"
if command -v brew &>/dev/null
fish_add_path "$(brew --prefix)/opt/python@3.12/libexec/bin"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env fish
set -Ux WGETRC "$XDG_CONFIG_HOME/wgetrc"
set -gx WGETRC "$XDG_CONFIG_HOME/wgetrc"
if command -v wget &>/dev/null