aboutsummaryrefslogtreecommitdiff
path: root/dot_bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_bashrc')
-rw-r--r--dot_bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_bashrc b/dot_bashrc
index 20f8fc1..2f270fe 100644
--- a/dot_bashrc
+++ b/dot_bashrc
@@ -1,4 +1,5 @@
stty -ixon # Disable ctrl-s and ctrl-q.
+stty erase ^H # Can happen by pressing Return key
shopt -s autocd cdspell checkjobs extglob histappend
# autocd : Allows you to cd into directory merely by typing the directory name.
@@ -20,6 +21,10 @@ export ANDROID_HOME="$XDG_DATA_HOME"/android
export HISTFILE="$XDG_STATE_HOME"/bash/history
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/pythonrc
+export W3M_DIR="$XDG_DATA_HOME"/w3m
+export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
+export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
+export MYPY_CACHE_DIR="$XDG_CACHE_HOME"/mypy
PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1