PATH fixes

This commit is contained in:
2025-02-04 09:14:26 -05:00
parent ce10acaf24
commit 6faa34f841
+25 -21
View File
@@ -1,17 +1,17 @@
if test -f /home/ion606/.config/fish/completions/glow.fish if test -f ~/.config/fish/completions/glow.fish
source /home/ion606/.config/fish/completions/glow.fish source ~/.config/fish/completions/glow.fish
end end
if test -f /home/ion606/.config/fish/completions/glow.fish if test -f ~/.config/fish/completions/glow.fish
source /home/ion606/.config/fish/completions/glow.fish source ~/.config/fish/completions/glow.fish
end end
if test -f /home/ion606/.config/fish/functions/builtins.fish if test -f ~/.config/fish/functions/builtins.fish
source /home/ion606/.config/fish/functions/builtins.fish source ~/.config/fish/functions/builtins.fish
end end
if test -f /home/ion606/.config/fish/functions/commands.fish if test -f ~/.config/fish/functions/commands.fish
source /home/ion606/.config/fish/functions/commands.fish source ~/.config/fish/functions/commands.fish
end end
@@ -20,7 +20,7 @@ end
# Function to update Discord # Function to update Discord
function updateDiscord function updateDiscord
# The directory where the contents will be copied to # The directory where the contents will be copied to
set target_dir /home/ion606/Discord set target_dir ~/Discord
# Find the tar.gz file following the naming pattern # Find the tar.gz file following the naming pattern
set tar_file (find . -type f -name "discord-*.tar.gz" | head -n 1) set tar_file (find . -type f -name "discord-*.tar.gz" | head -n 1)
@@ -47,11 +47,11 @@ end
# Aliases # Aliases
function submitty function submitty
bash /home/ion606/runsubmitty.sh bash ~/runsubmitty.sh
end end
function showinfo function showinfo
bash /home/ion606/.customscripts/swaybackup/auto/shownotif.sh info $argv bash ~/.customscripts/swaybackup/auto/shownotif.sh info $argv
end end
function sway function sway
@@ -63,8 +63,8 @@ function minecraft
end end
# Export paths and variables # Export paths and variables
set -x PATH /home/ion606/Downloads/flutter/bin $PATH set -x PATH ~/Downloads/flutter/bin $PATH
set -x PATH_TO_FX "/home/ion606/javafx-sdk-22.0.1/lib" set -x PATH_TO_FX "~/javafx-sdk-22.0.1/lib"
set -x HISTCONTROL "shutdown *:ignoredups:erasedups" set -x HISTCONTROL "shutdown *:ignoredups:erasedups"
set -x CC /usr/bin/gcc set -x CC /usr/bin/gcc
@@ -93,7 +93,7 @@ if test -s "$HOME/.sdkman/bin/sdkman-init.sh"
end end
# PNPM # PNPM
set -x PNPM_HOME "/home/ion606/.local/share/pnpm" set -x PNPM_HOME "~/.local/share/pnpm"
if not contains "$PNPM_HOME" $PATH if not contains "$PNPM_HOME" $PATH
set -x PATH $PNPM_HOME $PATH set -x PATH $PNPM_HOME $PATH
end end
@@ -107,7 +107,7 @@ alias temperature="sensors"
# Function to update Discord # Function to update Discord
function updateDiscord function updateDiscord
# The directory where the contents will be copied to # The directory where the contents will be copied to
set target_dir /home/ion606/Discord set target_dir ~/Discord
# Find the tar.gz file following the naming pattern # Find the tar.gz file following the naming pattern
set tar_file (find . -type f -name "discord-*.tar.gz" | head -n 1) set tar_file (find . -type f -name "discord-*.tar.gz" | head -n 1)
@@ -134,7 +134,7 @@ end
# Aliases # Aliases
function showinfo function showinfo
bash /home/ion606/.customscripts/swaybackup/auto/shownotif.sh info $argv bash ~/.customscripts/swaybackup/auto/shownotif.sh info $argv
end end
function sway function sway
@@ -146,13 +146,14 @@ function minecraft
end end
# Export paths and variables # Export paths and variables
set -x PATH /home/ion606/Downloads/flutter/bin $PATH set -x PATH ~/Downloads/flutter/bin $PATH
set -x PATH_TO_FX "/home/ion606/javafx-sdk-22.0.1/lib" set -x PATH_TO_FX "~/javafx-sdk-22.0.1/lib"
set -x HISTCONTROL "shutdown *:ignoredups:erasedups" set -x HISTCONTROL "shutdown *:ignoredups:erasedups"
set -x CC /usr/bin/gcc set -x CC /usr/bin/gcc
set -x CXX "/usr/bin/g++" set -x CXX "/usr/bin/g++"
set -x EDITOR nvim set -x EDITOR nvim
set -x CFLAGS "--sysroot=/usr/share/wasi-sysroot"
# Clear history alias # Clear history alias
function clearhist function clearhist
@@ -176,7 +177,7 @@ if test -s "$HOME/.sdkman/bin/sdkman-init.sh"
end end
# PNPM # PNPM
set -x PNPM_HOME "/home/ion606/.local/share/pnpm" set -x PNPM_HOME "~/.local/share/pnpm"
if not contains "$PNPM_HOME" $PATH if not contains "$PNPM_HOME" $PATH
set -x PATH $PNPM_HOME $PATH set -x PATH $PNPM_HOME $PATH
end end
@@ -184,9 +185,12 @@ end
alias postgres="pg_ctl -D /var/lib/postgres/data -l logfile start" alias postgres="pg_ctl -D /var/lib/postgres/data -l logfile start"
alias temperature="sensors" alias temperature="sensors"
set -gx PATH /opt/cuda/bin $PATH
set -gx LD_LIBRARY_PATH /opt/cuda/lib64 $LD_LIBRARY_PATH
# colors # colors
starship init fish | source starship init fish | source
if test -f /home/ion606/.config/fish/conf.d/colors.fish if test -f ~/.config/fish/conf.d/colors.fish
source /home/ion606/.config/fish/conf.d/colors.fish source ~/.config/fish/conf.d/colors.fish
end end