Change shell
exec [zsh|bash]
Set env variable from bash
export EXAMPLE='/to/script/path'copy
export EXAMPLE='/to/script/path'
For cd, use aliases
alias proj="cd /home/tree/projects/java"
Writing a Shell Script
file.sh
#!/bin/bashcopy
#!/bin/bash