diff options
| author | Simeon Simeonov | 2025-02-02 19:38:17 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2025-02-02 19:38:17 +0100 |
| commit | 6cff034042ad80df83cd18d3e55877aaacbd3ad7 (patch) | |
| tree | 8c0e227ed54029880a4a2f7d7336ff731f9a8c54 | |
| parent | 0ed0f7f63e7bf897c41dde295d3c3b9e12cdc9b4 (diff) | |
| -rw-r--r-- | Archlinux/root/.bashrc | 11 | ||||
| -rw-r--r-- | Archlinux/user/.bashrc | 22 | ||||
| -rw-r--r-- | Fedora/user/.bashrc | 4 |
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 @@ | |||
| 1 | alias ls='ls --color=auto' | ||
| 2 | alias grep='grep --color=auto' | ||
| 3 | |||
| 4 | PS1="[\[\033[01;32m\]\u\[\033[00m\]@\h \w]\\$ "; export PS1 | ||
| 5 | |||
| 6 | export HISTSIZE=100000 | ||
| 7 | export HISTCONTROL=ignorespace:erasedups | ||
| 8 | shopt -s checkwinsize | ||
| 9 | |||
| 10 | export LANG=en_US.UTF-8 | ||
| 11 | export 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 | |||
| 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 | ||
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 | |||
| 31 | source /usr/share/git-core/contrib/completion/git-prompt.sh | 31 | source /usr/share/git-core/contrib/completion/git-prompt.sh |
| 32 | export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' | 32 | export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' |
| 33 | 33 | ||
| 34 | HISTSIZE=10000 | 34 | HISTSIZE=100000 |
| 35 | HISTFILESIZE=20000 | 35 | HISTFILESIZE=200000 |
| 36 | HISTCONTROL=ignorespace:erasedups | 36 | HISTCONTROL=ignorespace:erasedups |
| 37 | 37 | ||
| 38 | ## display ## | 38 | ## display ## |
