X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=97cb9f557554bd20821cb42832d21f28daf9095a;hb=1556f87ad6e07f3ce342464b38952003530661d9;hp=b95dbc9073e12c9e7b9734a7b90db5a5f269cb5a;hpb=1e6011180d858018ccaf465cfbd36904acbbb7b7;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index b95dbc9..97cb9f5 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -1,16 +1,15 @@ -shopt -s checkwinsize +shopt -s checkwinsize histappend globstar export HISTCONTROL=erasedups export HISTFILESIZE=NOTHING export HISTSIZE=NOTHING -shopt -s histappend export PROMPT_COMMAND='history -a' -export TERMINAL=urxvtcd +export TERMINAL=~/projects/st/st export EDITOR="vim -p" export TERM=screen export BROWSER=firefox -export PAGER=less +export PAGER=more export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass export NOTMUCH_CONFIG=~/.config/notmuch/config @@ -18,9 +17,7 @@ export NOTMUCH_CONFIG=~/.config/notmuch/config export CLEAN_HOME=/opt/clean export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin -export PATH=$PATH:~/projects/esp-open-sdk/xtensa-lx106-elf/bin -export PATH=$PATH:/opt/texlive/2016/bin/x86_64-linux -export PATH=$PATH:~/.local/texlive/2016/bin/x86_64-linux +export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux export GTK_IM_MODULE=xim export QT_IM_MODULE=xim @@ -28,10 +25,15 @@ export QT_IM_MODULE=xim alias ls='ls --color=auto' alias grep='grep --color=auto' alias vi=vim +alias latexmk='make -f ~/.local/bin/latex.mk' +export TMUX_TMPDIR="$XDG_RUNTIME_DIR" +alias tmux='tmux -f ~/.config/tmux/config' + +. /etc/bash_completion set_prompt(){ last_c=$? - PS1='\u@\h' + PS1='\H' [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1" PS1="$PS1\w\$ " }