From 148de3a9455ae91a037694beac059b6efbaa27ed Mon Sep 17 00:00:00 2001 From: BitHeaven <33015545+BitHeaven-Official@users.noreply.github.com> Date: Sat, 13 Aug 2022 12:53:59 +0500 Subject: [PATCH] Create .profile --- .profile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..f90fb09 --- /dev/null +++ b/.profile @@ -0,0 +1,18 @@ +if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then + startx +fi + +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi