X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.bashrc;h=09a68481bf8ce02e63ebec88f90a1452155561b7;hb=4c9a4ba24952cad37d093de6e1166013664b8fd2;hp=91cb2f23d305d1a48e626d649613812963a3c893;hpb=86aaaef21ac8fc9218515ec79a246013aec347c1;p=dotfiles.git diff --git a/shell/.bashrc b/shell/.bashrc index 91cb2f2..09a6848 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -1,41 +1,41 @@ -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=~/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 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:/opt/zotero:/opt/arduino 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 tmux="tmux -f ~/.config/tmux/config" +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\$ " }