diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-08-02 23:23:26 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-08-02 23:23:26 +0200 |
commit | 31d195fa0e95ba643e524d44ac609037f0d85fe3 (patch) | |
tree | be6c3953cc634358a8d1977b35d389cc0e6f5b26 | |
parent | a3dc667d6e874f4317f9948f8361f8c0597fc020 (diff) |
Cleaned up .bashrc, and made vim the default editor
-rw-r--r-- | .bashrc | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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' |