Merge branch 'master' of https://github.com/xlogerais/config-bash
This commit is contained in:
commit
2baa5f33d0
@ -4,4 +4,6 @@ then
|
|||||||
alias etc-update='sudo etc-update'
|
alias etc-update='sudo etc-update'
|
||||||
alias revdep-rebuild='sudo revdep-rebuild'
|
alias revdep-rebuild='sudo revdep-rebuild'
|
||||||
alias eix='eix -F'
|
alias eix='eix -F'
|
||||||
|
alias epro='sudo epro'
|
||||||
|
alias layman='sudo layman'
|
||||||
fi
|
fi
|
||||||
|
@ -7,5 +7,4 @@
|
|||||||
if [ -d "$HOME/.anyenv/bin" ]
|
if [ -d "$HOME/.anyenv/bin" ]
|
||||||
then
|
then
|
||||||
export PATH="$HOME/.anyenv/bin:$PATH"
|
export PATH="$HOME/.anyenv/bin:$PATH"
|
||||||
eval "$(anyenv init -)"
|
|
||||||
fi
|
fi
|
||||||
|
@ -5,4 +5,4 @@ export HISTSIZE=5000
|
|||||||
export HISTFILESIZE=20000
|
export HISTFILESIZE=20000
|
||||||
export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "
|
export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "
|
||||||
export HISTCONTROL="ignoreboth"
|
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
10
rc.d/anyenv
Normal 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
|
@ -7,6 +7,9 @@ else
|
|||||||
export PS1='\[\e[01;32m\]\u@\h\[\e[01;34m\] \w \$\[\e[0m\] '
|
export PS1='\[\e[01;32m\]\u@\h\[\e[01;34m\] \w \$\[\e[0m\] '
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Limit the path to 3 levels
|
||||||
|
PROMPT_DIRTRIM=3
|
||||||
|
|
||||||
# Add a smiley at end of prompt showing last command status code
|
# Add a smiley at end of prompt showing last command status code
|
||||||
#smiley() {
|
#smiley() {
|
||||||
# ret_val=$?
|
# ret_val=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user