From c11ba09a367cf7f5219dbbca0f0cb24639904aca Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Thu, 9 Feb 2023 15:44:30 +0100 Subject: [PATCH] Add .profile --- .profile | 10 ++++++++++ .zshrc | 1 + 2 files changed, 11 insertions(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..f643155 --- /dev/null +++ b/.profile @@ -0,0 +1,10 @@ +# 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 + diff --git a/.zshrc b/.zshrc index 3d1501f..82ee8eb 100644 --- a/.zshrc +++ b/.zshrc @@ -42,5 +42,6 @@ if [ -z "$TMUX" ]; then tmux attach -t Default || tmux new -s Default fi +source .profile source .aliases