Covert bash script to zsh.
I have just upgraded from Mojave to Big Sur.
Need some script advice.
I have a script for bash. Need some help to convert this to zsh.
bash version :
#!/usr/bin/env bash
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users:/Users/root:/Users/root/Scripts:/Library/Scripts:/Library/Scripts/Startup
#Load modules for Fuse
/Library/Filesystems/macfuse.fs/Contents/Resources/load_macfuse
/usr/sbin/sysctl -w vfs.generic.macfuse.tunables.allow_other=1
#Connect to rsync_net
/bin/sleep 45
/usr/local/bin/sshfs XXXXX@XXXX.ch-s011.rsync.net: /Volumes/rsync.net -olocal,auto_cache,reconnect,volname=rsync.net,allow_other,defer_permissions,async_read
And here is another one that I would like to convert :
I have the following in my .bash_profile :
#Setting PATH for meson and ninja
export PATH=$PATH:/Users/tormod/Library/Python/3.9/bin
#Setting PATH for Python 3.9
PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}"
export PATH
What is the corresponding for a zsh profile ? .zprofile ?