diff options
Diffstat (limited to 'Archlinux/user/.bashrc')
| -rw-r--r-- | Archlinux/user/.bashrc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Archlinux/user/.bashrc b/Archlinux/user/.bashrc new file mode 100644 index 0000000..5b735ee --- /dev/null +++ b/Archlinux/user/.bashrc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # | ||
| 2 | # ~/.bashrc | ||
| 3 | # | ||
| 4 | |||
| 5 | # If not running interactively, don't do anything | ||
| 6 | [[ $- != *i* ]] && return | ||
| 7 | |||
| 8 | alias ls='ls --color=auto' | ||
| 9 | alias grep='grep --color=auto' | ||
| 10 | ##PS1='[\u@\h \W]\$ ' | ||
| 11 | |||
| 12 | |||
| 13 | ## custom ## | ||
| 14 | source /usr/share/git/completion/git-prompt.sh | ||
| 15 | |||
| 16 | export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' | ||
| 17 | |||
| 18 | export HISTSIZE=100000 | ||
| 19 | HISTFILESIZE=200000 | ||
| 20 | export HISTCONTROL=ignorespace:erasedups | ||
| 21 | export LANG=en_US.UTF-8 | ||
| 22 | shopt -s checkwinsize | ||
