summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2023-08-28 20:34:33 -0700
committerTyler Davis <tyler@gluecode.net>2023-08-28 20:34:33 -0700
commit5de24652bdfe4786577859253cc873092f50f29b (patch)
tree441a4daf5e23d41a360c0ead6cb636ff583de994 /.profile
parent1d7845aabb0cf88ec59cbd0e04ad284a0c6a59af (diff)
downloaddotfiles-5de24652bdfe4786577859253cc873092f50f29b.tar.gz
dotfiles-5de24652bdfe4786577859253cc873092f50f29b.zip
sh: remove pathuniq
Diffstat (limited to '.profile')
-rw-r--r--.profile7
1 files changed, 1 insertions, 6 deletions
diff --git a/.profile b/.profile
index d9597f9..152e366 100644
--- a/.profile
+++ b/.profile
@@ -134,16 +134,11 @@ alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# dotfiles config --local status.showUntrackedFiles no
## == END DOTFILES ==
-# Unique the path
-if [ -f "$HOME/.local/bin/pathuniq" ]; then
- $(eval ~/.local/bin/pathuniq)
-fi
-
# Prompt
USER=$(id -un)
HOSTNAME=$(uname -n)
export PS1='$USER@$HOSTNAME:$PWD/\$ '
-if [ $SHELL = "/bin/bash" ] || [ $SHELL = "/opt/homebrew/bin/bash" ]; then
+if [ ! $(echo $SHELL|grep -q "bash") ]; then
if [ -f "$HOME/.bashrc" ]; then . $HOME/.bashrc; fi
fi