From 815fe74d3f86421f7d71ecb9825560379258fbcb Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Mon, 2 Aug 2021 23:23:26 +0200 Subject: Cleaned up .bashrc, and made vim the default editor --- .bashrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 6fea2a5..8b9c669 100644 --- a/.bashrc +++ b/.bashrc @@ -105,12 +105,6 @@ if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi -alias mv='mv -i' -alias rm='rm -i' -alias gs='git status' -alias cs='config status' - - # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). @@ -122,12 +116,18 @@ if ! shopt -oq posix; then fi fi + # ANTLR export CLASSPATH=".:/usr/local/lib/antlr-4.9.1-complete.jar:$CLASSPATH" alias antlr4='java -jar /usr/local/lib/antlr-4.9.1-complete.jar' alias grun='java org.antlr.v4.gui.TestRig' -# Shell prompt -export PS1='\[\033[33m\]adamski\[\033[37m\]:\[\033[0;34m\]\w\[\033[37m\]$ ' +export EDITOR=vim +export VISUAL=vim +export PS1='\[\033[33m\]adamski\[\033[37m\]:\[\033[0;34m\]\w\[\033[37m\]$ ' # Shell prompt +alias mv='mv -i' +alias rm='rm -i' +alias gs='git status' +alias cs='config status' alias config='/usr/bin/git --git-dir=/home/adam/.cfg/ --work-tree=/home/adam' -- cgit v1.2.3-70-g09d2