-
Notifications
You must be signed in to change notification settings - Fork 4
/
.bashrc
34 lines (24 loc) · 861 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Bash Reference Manual
# http://www.gnu.org/software/bash/manual/bashref.html
# if not running interactively don't do anything
case $- in *i*) ;; *) return;; esac
# check the window size after each command and, if necessary, update the values of LINES and COLUMNS.
shopt -s checkwinsize
# append to the history file, don't overwrite it
shopt -s histappend
# don't put duplicate lines or lines starting with space in the history
HISTCONTROL=ignoreboth
# setting history length
HISTSIZE=50000
HISTFILESIZE=50000
# builtin time command output format
export TIMEFORMAT=$'\e[0;30m\e[47mreal:%Rs user:%Us sys:%Ss cpu:%P%%\e[0m'
# set default editor
export VISUAL=vim
export EDITOR="$VISUAL"
# prompt customization
. ~/.bash_prompt
# alias definitions
. ~/.bash_aliases
# enable programmable completion features
. /usr/share/bash-completion/bash_completion