Read /etc/profile if running zsh
This commit is contained in:
parent
8164dd780f
commit
5280e2998e
1 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue