add extra bin site

This commit is contained in:
Daylin Morgan 2022-11-28 14:32:03 -06:00
parent 86fbd8909d
commit 14686dbe2f

View file

@ -1,5 +1,7 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# TODO: Refactor this entire mess
# Start with system path # Start with system path
# Retrieve it from getconf, otherwise it's just current $PATH # Retrieve it from getconf, otherwise it's just current $PATH
prepend-path() { prepend-path() {
@ -20,9 +22,7 @@ PATH="$HOME/.cargo/bin:$PATH"
PATH="$PATH:/usr/local/go/bin" PATH="$PATH:/usr/local/go/bin"
PATH="/usr/local/texlive/2021/bin/x86_64-linux:$PATH" PATH="/usr/local/texlive/2021/bin/x86_64-linux:$PATH"
PATH="$HOME/go/bin:$PATH" PATH="$HOME/go/bin:$PATH"
# prepend-path "/sbin" PATH="$HOME/.extra/bin:$PATH"
# prepend-path "/usr/sbin"
# prepend-path "/usr/local/sbin"
# Remove duplicates (preserving prepended items) # Remove duplicates (preserving prepended items)
# Source: http://unix.stackexchange.com/a/40755 # Source: http://unix.stackexchange.com/a/40755