diff options
author | Saumit Dinesan <79687674+Saumit-D@users.noreply.github.com> | 2021-09-10 08:24:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 08:24:27 +0530 |
commit | 17ef3c269f290a91c5e6dbb98a889d73fc765616 (patch) | |
tree | e312d33191c82eef76745288e781466f132017a5 /.bash_profile | |
parent | 8792de64e7bc225df793655a6e4f5dad80caa8f6 (diff) |
Add files via upload
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 32 |
1 files changed, 32 insertions, 0 deletions
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 + + |