1
0
Fork 0

zsh: cleanup .profile

This commit is contained in:
Luca Bilke 2024-06-26 18:52:57 +02:00
parent 7c5ccc8d5f
commit ffd0d67513
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 4 additions and 4 deletions

View File

@ -125,10 +125,11 @@ localpath=""
export PATH="$PATH:$localpath"
for NEW_PATH in \
"${XDG_DATA_HOME}/pnpm" \
"${XDG_DATA_HOME}/cargo/bin"
"${PNPM_HOME}" \
"${XDG_DATA_HOME}/cargo/bin" \
"${XDG_CONFIG_HOME}/composer/vendor/bin" \
"$(gem environment gempath)" \
"$(find -L ~/.local/bin -type d -printf %p: | sed 's/.$//')" \
"$(find -L ~/.local/bin -type d -printf %p: | sed 's/.$//')"
do
case ":$PATH:" in
*":$NEW_PATH:"*) ;;
@ -136,7 +137,6 @@ do
esac
done
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"