This commit is contained in:
Xavier Logerais 2015-11-03 10:48:10 +01:00
commit 2baa5f33d0
5 changed files with 16 additions and 2 deletions

View File

@ -4,4 +4,6 @@ then
alias etc-update='sudo etc-update'
alias revdep-rebuild='sudo revdep-rebuild'
alias eix='eix -F'
alias epro='sudo epro'
alias layman='sudo layman'
fi

View File

@ -7,5 +7,4 @@
if [ -d "$HOME/.anyenv/bin" ]
then
export PATH="$HOME/.anyenv/bin:$PATH"
eval "$(anyenv init -)"
fi

View File

@ -5,4 +5,4 @@ export HISTSIZE=5000
export HISTFILESIZE=20000
export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "
export HISTCONTROL="ignoreboth"
export HISTIGNORE="[bf]g:exit:history*:*rm*-rf*:*rm*-f*:reboot:ls:ll:man:mutt"
export HISTIGNORE="[bf]g:exit:history*:^rm:reboot:ls:ll:man:mutt"

10
rc.d/anyenv Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# https://github.com/riywo/anyenv
# git clone https://github.com/riywo/anyenv $HOME/.anyenv
if ( which anyenv &> /dev/null )
then
eval "$(anyenv init -)"
fi

View File

@ -7,6 +7,9 @@ else
export PS1='\[\e[01;32m\]\u@\h\[\e[01;34m\] \w \$\[\e[0m\] '
fi
# Limit the path to 3 levels
PROMPT_DIRTRIM=3
# Add a smiley at end of prompt showing last command status code
#smiley() {
# ret_val=$?