35 lines
781 B
Bash
35 lines
781 B
Bash
typeset -U path
|
|
|
|
path+=(
|
|
$HOME/.local/bin
|
|
$HOME/.cargo/bin
|
|
$HOME/.ghcup/bin
|
|
$HOME/.cabal/bin
|
|
)
|
|
|
|
if [ -n "$HOMEBREW_PREFIX" ]
|
|
then
|
|
path=(
|
|
$HOMEBREW_PREFIX/bin
|
|
$HOMEBREW_PREFIX/opt/node@20/bin
|
|
$HOMEBREW_PREFIX/opt/php@8.1/bin
|
|
$HOMEBREW_PREFIX/opt/libtool/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/grep/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/findutils/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/make/libexec/gnubin
|
|
$HOMEBREW_PREFIX/opt/bison/bin
|
|
$path
|
|
)
|
|
else
|
|
export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
|
fi
|
|
|
|
export PATH
|
|
|
|
export GPG_TTY=$(tty)
|
|
export LESS="-R"
|
|
export EDITOR="nvim"
|
|
export JDTLS_HOME=$HOME/Projects/lsp/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/repository
|