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 /Archlinux/user/.bashrc | |
| parent | 0ed0f7f63e7bf897c41dde295d3c3b9e12cdc9b4 (diff) | |
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 | ||
