X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=27d574af740c3e4d3bbbc4d4467e8242ec537001;hb=886fcf0cbe424a65df009dd486e12f8830302e6e;hp=b0f0fd46da19fcf1614940641b9cdb8f552ed9d1;hpb=29d1e69dadf0b5e382a6edd6d5fb6f10b07c9fb2;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index b0f0fd4..27d574a 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -1,13 +1,12 @@ -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 EDITOR=vim +export TERMINAL=~/projects/st/st +export EDITOR="vim -p" export TERM=screen export BROWSER=firefox export PAGER=more @@ -16,15 +15,27 @@ export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass export NOTMUCH_CONFIG=~/.config/notmuch/config export CLEAN_HOME=/opt/clean -export PATH=~/.local/bin:$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin + +export PATH=~/.local/bin:$PATH +export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin +export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux:/opt/zotero:/opt/arduino:/opt/beets/bin + +export GTK_IM_MODULE=xim +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' +alias shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown" + +. /etc/bash_completion set_prompt(){ last_c=$? - PS1='\u@\h' + PS1='\H' [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1" PS1="$PS1\w\$ " }