X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=43c5087ce3820c54f1af68c0605104679243175f;hb=287a6cfa43d8542ee120a76d24e7ed9929184bc2;hp=7db3f565c117cc2eddf7b6e254d761507428467d;hpb=4ec32116d32f8b4457fffc431b9c2828be54e19c;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index 7db3f56..43c5087 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -19,7 +19,7 @@ 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 @@ -30,12 +30,15 @@ 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\$ " }