mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
load base PATH for the MacOS X
This commit is contained in:
parent
3b4db8f48c
commit
5d58b98547
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@ function savepath() {
|
|||
pwd > ~/.current_path~
|
||||
}
|
||||
|
||||
# load base PATH
|
||||
if [ -x /usr/libexec/path_helper ]; then
|
||||
eval `/usr/libexec/path_helper -s`
|
||||
fi
|
||||
|
||||
function tab() {
|
||||
savepath
|
||||
osascript >/dev/null <<EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue