space after HISTTIMEFORMAT, deactivate vimtips, autojump and includes
This commit is contained in:
parent
73e9e6f6b1
commit
a3861dd285
1 changed files with 7 additions and 4 deletions
11
.bashrc
11
.bashrc
|
|
@ -1,6 +1,9 @@
|
||||||
if [ -f /etc/bashrc ]; then
|
if [ -f /etc/bashrc ]; then
|
||||||
. /etc/bashrc # --> Read /etc/bashrc, if present.
|
. /etc/bashrc # --> Read /etc/bashrc, if present.
|
||||||
fi
|
fi
|
||||||
|
# if [ -f /etc/bash_completion ]; then
|
||||||
|
# . /etc/bash_completion
|
||||||
|
# fi
|
||||||
|
|
||||||
function proxy()
|
function proxy()
|
||||||
{
|
{
|
||||||
|
|
@ -336,7 +339,7 @@ export EDITOR='gvim'
|
||||||
alias clean='mv *~ ~/.Trash/'
|
alias clean='mv *~ ~/.Trash/'
|
||||||
|
|
||||||
# do not permits to recall dangerous commands in bash history
|
# do not permits to recall dangerous commands in bash history
|
||||||
export HISTIGNORE='&:[bf]g:exit:*>|*:history*::*rm*-rf*:*rm*-f*'
|
export HISTIGNORE='&:[bf]g:exit:*>|*::*rm*-rf*:*rm*-f*'
|
||||||
# append history rather than overwrite
|
# append history rather than overwrite
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
unset HISTFILESIZE
|
unset HISTFILESIZE
|
||||||
|
|
@ -344,7 +347,7 @@ HISTSIZE=1000000
|
||||||
# ignore commands that start with a space AND duplicate commands
|
# ignore commands that start with a space AND duplicate commands
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
# add the full date and time to lines
|
# add the full date and time to lines
|
||||||
HISTTIMEFORMAT='%F %T'
|
HISTTIMEFORMAT='%F %T '
|
||||||
# one command per line
|
# one command per line
|
||||||
shopt -s cmdhist
|
shopt -s cmdhist
|
||||||
# append history rather than overwritting it
|
# append history rather than overwritting it
|
||||||
|
|
@ -368,8 +371,8 @@ alias cgcc="colout :[0-9]+: yellow standard | colout error | colout warning mage
|
||||||
alias bepo="setxkbmap -layout fr -variant bepo -option"
|
alias bepo="setxkbmap -layout fr -variant bepo -option"
|
||||||
|
|
||||||
# Added by autojump install.sh
|
# Added by autojump install.sh
|
||||||
source /etc/profile.d/autojump.bash
|
#source /etc/profile.d/autojump.bash
|
||||||
|
|
||||||
# print a vim fortune at startup
|
# print a vim fortune at startup
|
||||||
/usr/games/fortune vimtips
|
#/usr/games/fortune vimtips
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue