From 80816fe2cf912df508422551971e5f1309f2e14f Mon Sep 17 00:00:00 2001 From: TheK4n Date: Fri, 15 Oct 2021 00:14:52 +0300 Subject: [PATCH] add .profile --- .profile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..511bae9 --- /dev/null +++ b/.profile @@ -0,0 +1,17 @@ +# 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