1
0
Fork 0

zsh: cleanup .profile

This commit is contained in:
Luca Bilke 2024-06-26 18:52:57 +02:00
parent 213a192082
commit 3fc0b1a6db
1 changed files with 4 additions and 4 deletions

View File

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