X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=43c5087ce3820c54f1af68c0605104679243175f;hb=7e98ade222f877c9dfca1c189c8f8dabcc55a4ac;hp=f3137330fa34836fca2889318f8afdd88885876f;hpb=9b4ab05e359bdf0994cb09ae063f414e8336fdcd;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index f313733..43c5087 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -6,27 +6,39 @@ export HISTSIZE=NOTHING shopt -s histappend export PROMPT_COMMAND='history -a' -. /usr/share/bash-completion/bash_completion - -export TERMINAL=urxvtc -export EDITOR=vim +export TERMINAL=~/projects/st/st +export EDITOR="vim -p" export TERM=screen export BROWSER=firefox export PAGER=less -export SUDO_ASKPASS=/usr/bin/ssh-askpass -export NOTMUCH_CONFIG=/home/mart/.mutt/notmuch-config +export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass +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/2018/bin/x86_64-linux -export CLEAN_HOME=~/projects/clean -export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin:~/.local/bin +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\$ " }