X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=shell%2F.bashrc;h=dbac23d1c0d0b44c8e1f8f1ed326fdc9e9c9f45e;hb=03456357bce935f8e8af9580a1f31a3ac8ea6cac;hp=29d174760168e23ee7809a7d7dd1d4cb976020c6;hpb=29f4acd0ae2d23db79e33cc0d4d064b53771d1f6;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index 29d1747..dbac23d 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -1,12 +1,11 @@ -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=urxvtc +export TERMINAL=~/projects/st/st export EDITOR="vim -p" export TERM=screen export BROWSER=firefox @@ -19,21 +18,23 @@ 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/bin/x86_64-linux:/opt/zotero:/opt/firefox +export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux export GTK_IM_MODULE=xim export QT_IM_MODULE=xim -# transparency in some applications such as mutt -export COLORFGBG="default;default" - 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\$ " }