35 lines
677 B
Bash
35 lines
677 B
Bash
# import order
|
|
# /etc/zshenv
|
|
# ~/.zshenv
|
|
##if login Runs only when the user logs in.
|
|
# /etc/zprofile
|
|
# ~/.zprofile
|
|
##fi
|
|
##if interactive Runs only when a tty is attached.
|
|
# /etc/zshrc
|
|
# ~/.zshrc
|
|
##fi
|
|
##if login
|
|
# /etc/zlogin
|
|
# ~/.zlogin
|
|
##fi
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/bin" ] ; then
|
|
PATH="$HOME/bin:$PATH"
|
|
fi
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
fi
|
|
|
|
## ZSH version of this
|
|
# # if running bash
|
|
# if [ -n "$BASH_VERSION" ]; then
|
|
# # include .bashrc if it exists
|
|
# if [ -f "$HOME/.bashrc" ]; then
|
|
# . "$HOME/.bashrc"
|
|
# fi
|
|
# fi
|