summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Archlinux/root/.bashrc11
-rw-r--r--Archlinux/user/.bashrc22
-rw-r--r--Fedora/user/.bashrc4
3 files changed, 35 insertions, 2 deletions
diff --git a/Archlinux/root/.bashrc b/Archlinux/root/.bashrc
new file mode 100644
index 0000000..fddd246
--- /dev/null
+++ b/Archlinux/root/.bashrc
@@ -0,0 +1,11 @@
1alias ls='ls --color=auto'
2alias grep='grep --color=auto'
3
4PS1="[\[\033[01;32m\]\u\[\033[00m\]@\h \w]\\$ "; export PS1
5
6export HISTSIZE=100000
7export HISTCONTROL=ignorespace:erasedups
8shopt -s checkwinsize
9
10export LANG=en_US.UTF-8
11export EDITOR=emacs
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
8alias ls='ls --color=auto'
9alias grep='grep --color=auto'
10##PS1='[\u@\h \W]\$ '
11
12
13## custom ##
14source /usr/share/git/completion/git-prompt.sh
15
16export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ '
17
18export HISTSIZE=100000
19HISTFILESIZE=200000
20export HISTCONTROL=ignorespace:erasedups
21export LANG=en_US.UTF-8
22shopt -s checkwinsize
diff --git a/Fedora/user/.bashrc b/Fedora/user/.bashrc
index a471971..37f4334 100644
--- a/Fedora/user/.bashrc
+++ b/Fedora/user/.bashrc
@@ -31,8 +31,8 @@ unset rc
31source /usr/share/git-core/contrib/completion/git-prompt.sh 31source /usr/share/git-core/contrib/completion/git-prompt.sh
32export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' 32export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ '
33 33
34HISTSIZE=10000 34HISTSIZE=100000
35HISTFILESIZE=20000 35HISTFILESIZE=200000
36HISTCONTROL=ignorespace:erasedups 36HISTCONTROL=ignorespace:erasedups
37 37
38## display ## 38## display ##