zsh: cleanup .profile
This commit is contained in:
parent
213a192082
commit
3fc0b1a6db
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue