remove PATH duplicates

This commit is contained in:
Ray Elliott 2020-05-11 14:36:07 +01:00
parent f9980f5eb6
commit 0a810f07fe
1 changed files with 4 additions and 0 deletions

4
zshrc
View File

@ -191,3 +191,7 @@ SPACESHIP_PROMPT_ORDER=(
spaceship_vi_mode_disable
alias todone='task_done'
# remove duplicate PATH entries
# https://til.hashrocket.com/posts/7evpdebn7g-remove-duplicates-in-zsh-path
typeset -aU path