diff options
Diffstat (limited to 'Fedora/root')
| -rw-r--r-- | Fedora/root/.bashrc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Fedora/root/.bashrc b/Fedora/root/.bashrc new file mode 100644 index 0000000..636a56b --- /dev/null +++ b/Fedora/root/.bashrc | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # .bashrc | ||
| 2 | |||
| 3 | # Source global definitions | ||
| 4 | if [ -f /etc/bashrc ]; then | ||
| 5 | . /etc/bashrc | ||
| 6 | fi | ||
| 7 | |||
| 8 | # User specific environment | ||
| 9 | if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] | ||
| 10 | then | ||
| 11 | PATH="$HOME/.local/bin:$HOME/bin:$PATH" | ||
| 12 | fi | ||
| 13 | export PATH | ||
| 14 | |||
| 15 | # Uncomment the following line if you don't like systemctl's auto-paging feature: | ||
| 16 | # export SYSTEMD_PAGER= | ||
| 17 | |||
| 18 | # User specific aliases and functions | ||
| 19 | |||
| 20 | # alias rm='rm -i' | ||
| 21 | # alias cp='cp -i' | ||
| 22 | # alias mv='mv -i' | ||
| 23 | |||
| 24 | |||
| 25 | ## custom ## | ||
| 26 | |||
| 27 | export PS1="[\[\033[01;32m\]\u\[\033[00m\]@\h \w]\\$ " | ||
| 28 | |||
| 29 | export HISTSIZE=10000 | ||
| 30 | export HISTCONTROL=ignorespace:erasedups | ||
| 31 | shopt -s checkwinsize | ||
| 32 | |||
| 33 | export LANG=en_US.UTF-8 | ||
| 34 | export EDITOR=emacs | ||
