Read /etc/profile if running zsh
This commit is contained in:
parent
8ff08f7c45
commit
01a14ec8bd
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "$ZSH_VERSION" ]; then
|
||||||
|
emulate sh -c 'source /etc/profile'
|
||||||
|
fi
|
||||||
|
|
||||||
PATH="/usr/sbin:/sbin:/usr/bin:/bin"
|
PATH="/usr/sbin:/sbin:/usr/bin:/bin"
|
||||||
for dir in $HOME/bin \
|
for dir in $HOME/bin \
|
||||||
$HOME/.cargo/bin \
|
$HOME/.cargo/bin \
|
||||||
|
|
Loading…
Reference in a new issue