summaryrefslogtreecommitdiff
path: root/Archlinux/user/.bashrc
blob: 5b735ee810f0f53baf9c048a0d8130df1afe77e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
alias grep='grep --color=auto'
##PS1='[\u@\h \W]\$ '


## custom ##
source /usr/share/git/completion/git-prompt.sh

export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ '

export HISTSIZE=100000
HISTFILESIZE=200000
export HISTCONTROL=ignorespace:erasedups
export LANG=en_US.UTF-8
shopt -s checkwinsize