Some Useful bashrc stuff
Please put below in /etc/bash.bashrc
## No duplicates in the history
## for setting history length see HISTSIZE and HISTFILESIZE in bash
## Timestamp history
## Don't Overwrite. Append to bash history.
##Adding costume $PATH
##Adding Vim as default editor
Please put below in /etc/bash.bashrc
## No duplicates in the history
export HISTCONTROL=ignoredups
## for setting history length see HISTSIZE and HISTFILESIZE in bash
export HISTSIZE=100000export HISTFILESIZE=100000
## Timestamp history
export HISTTIMEFORMAT="%b %d %a %T "
## Don't Overwrite. Append to bash history.
shopt -s histappend
##Adding costume $PATH
export PATH="/usr/local/zabbix/bin:$PATH"
##Adding Vim as default editor
export EDITOR=vim
No comments:
Post a Comment