diff options
| -rw-r--r-- | Fedora/root/.bashrc | 34 | ||||
| -rw-r--r-- | Fedora/user/.bashrc | 29 |
2 files changed, 63 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 | ||
diff --git a/Fedora/user/.bashrc b/Fedora/user/.bashrc new file mode 100644 index 0000000..04ba32b --- /dev/null +++ b/Fedora/user/.bashrc | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | source ~/.git-prompt.sh | ||
| 2 | |||
| 3 | export PATH=~/.bin:$PATH | ||
| 4 | export PYTHONPATH=/home/sgs/.pythonpath | ||
| 5 | |||
| 6 | export PS1='[\u@\[\033[0;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' | ||
| 7 | |||
| 8 | export HISTSIZE=10000 | ||
| 9 | export HISTCONTROL=ignorespace:erasedups | ||
| 10 | shopt -s checkwinsize | ||
| 11 | |||
| 12 | export LANG=en_US.UTF-8 | ||
| 13 | export EDITOR=emacs | ||
| 14 | |||
| 15 | alias s='screen -r' | ||
| 16 | |||
| 17 | ## tunnels ## | ||
| 18 | alias ssocks='ssh -2 -4 -N -n -T -D 9999' | ||
| 19 | ############# | ||
| 20 | |||
| 21 | ## logins ## | ||
| 22 | alias server='ssh -2 -4 mb' | ||
| 23 | alias lfg='ssh -2 -4 fg' | ||
| 24 | ############ | ||
| 25 | |||
| 26 | ## general flask ## | ||
| 27 | export FLASK_DEBUG=1 | ||
| 28 | export FLASK_ENV=development | ||
| 29 | ################### | ||
