X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=.bashrc;h=2301b5ea38660eb2dcc2b0218e3044b525427835;hb=9f2faeff19b7695a9abc6bf4360b1e83972ce1a5;hp=850239819e4f2e811faccb787ae88bc00680fb76;hpb=cc4abfb3797934ea3fa1d7e93ab85a93fbf259b1;p=dotfiles.git diff --git a/.bashrc b/.bashrc index 8502398..2301b5e 100644 --- a/.bashrc +++ b/.bashrc @@ -12,16 +12,16 @@ export HISTFILESIZE=10000 export HISTSIZE=100000 export HISTCONTROL=ignoreboth +export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass + alias ls='ls --color=auto' alias grep='grep --color=auto' +alias vi=vim -#[ ! -s ~/.config/mpd/pid ] && mpd - -source /usr/share/git/completion/git-prompt.sh set_prompt(){ last_c=$? PS1='\u@\h' [[ $last_c -ge 1 ]] && PS1="($last_c) $PS1" - PS1="$PS1\w$(__git_ps1)\n\$ " + PS1="$PS1\w\$ " } PROMPT_COMMAND='set_prompt'