From 17ef3c269f290a91c5e6dbb98a889d73fc765616 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+Saumit-D@users.noreply.github.com> Date: Fri, 10 Sep 2021 08:24:27 +0530 Subject: Add files via upload --- .bash_profile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .bash_profile (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..c5c44dd --- /dev/null +++ b/.bash_profile @@ -0,0 +1,32 @@ +# ~/.bash_profile +# _ _ __ _ _ +#| |__ __ _ ___| |__ _ __ _ __ ___ / _(_) | ___ +#| '_ \ / _` / __| '_ \ | '_ \| '__/ _ \| |_| | |/ _ \ +#| |_) | (_| \__ \ | | | | |_) | | | (_) | _| | | __/ +#|_.__/ \__,_|___/_| |_|____| .__/|_| \___/|_| |_|_|\___| +# |_____|_| + +#Runs on log in + + +export PATH="$PATH:$HOME/.scripts" +#your $PATH env variable is a list of all your directories from which you can run commands without giving the whole location +export EDITOR="vim" +export TERMINAL="st" +export BROWSER="brave" +export READER="zathura" + +[[ -f ~/.bashrc ]] && . ~/.bashrc + + +#if tty -> tty1 then upon login execute/run the X graphical server +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + exec startx +fi + + + +#Switch escape and Caps Lock +#sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null + + -- cgit v1.2.3