summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2024-05-16 20:30:20 +0000
committerTyler Davis <tyler@gluecode.net>2024-05-16 20:30:20 +0000
commitab6d71145d02d2666c1f8625a3115509b5b59585 (patch)
treec794e2b334009231d41541ff79272e5e42758454 /.profile
parent528815b7680e64904e83a10bbd34cd59908ad57a (diff)
downloaddotfiles-ab6d71145d02d2666c1f8625a3115509b5b59585.tar.gz
dotfiles-ab6d71145d02d2666c1f8625a3115509b5b59585.zip
sh: add path deduplication
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/.profile b/.profile
index ecd8933..03292a4 100644
--- a/.profile
+++ b/.profile
@@ -125,9 +125,7 @@ alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# dotfiles config --local status.showUntrackedFiles no
## == END DOTFILES ==
-# Prompt
-#USER=$(id -un)
-#HOSTNAME=$(uname -n)
+export PATH=`printf %s "$PATH" | awk -v RS=: '{ if (!arr[$0]++) {printf("%s%s",!ln++?"":":",$0)}}'`
export HISTFILE=~/.history
export HISTSIZE=10000