aboutsummaryrefslogtreecommitdiff
path: root/dot_bashrc
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2023-06-19 16:56:22 +0200
committerclyhtsuriva <aimeric@adjutor.xyz>2023-06-19 16:56:22 +0200
commit07965ccef4a45351d61a671cd4c43e022c219284 (patch)
tree401ffc6b0a445ab4bbe586dd3b0ce0df3f7ca27f /dot_bashrc
parentcb2cab2e45295b0e837d4d3b301f7594a5392464 (diff)
dotfiles update
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