purhan/src/.profile
2021-02-08 19:45:11 +05:30

25 lines
535 B
Bash

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
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
# include personal scripts/bin
if [ -d "$HOME/scripts/bin" ] ; then
PATH="$HOME/scripts/bin:$PATH"
fi
source "$HOME/.cargo/env"