Read /etc/profile if running zsh

This commit is contained in:
Anthony Rose 2020-11-21 17:31:02 +00:00
parent 8ff08f7c45
commit 01a14ec8bd

View file

@ -1,5 +1,9 @@
#!/bin/sh
if [ "$ZSH_VERSION" ]; then
emulate sh -c 'source /etc/profile'
fi
PATH="/usr/sbin:/sbin:/usr/bin:/bin"
for dir in $HOME/bin \
$HOME/.cargo/bin \