Read /etc/profile if running zsh

This commit is contained in:
Anthony Rose 2020-11-21 17:31:02 +00:00
parent 8164dd780f
commit 5280e2998e

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 \