From 4c67f2e3e902bfbc9d711d11f7757abaaa681ee8 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Thu, 22 Dec 2022 22:40:53 -0700 Subject: [PATCH] create .zprofile --- .zprofile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .zprofile diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..9203f7e --- /dev/null +++ b/.zprofile @@ -0,0 +1,12 @@ +# this file is installed as ~/.zprofile for newly created users + +# prepend ~/.local/bin and ~/bin to $PATH unless it is already there +if ! [[ "$PATH" =~ "$HOME/bin" ]] +then + PATH="$HOME/bin:$PATH" +fi +if ! [[ "$PATH" =~ "$HOME/.local/bin:" ]] +then + PATH="$HOME/.local/bin:$PATH" +fi +export PATH