summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Fedora/root/.bashrc34
-rw-r--r--Fedora/user/.bashrc29
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
4if [ -f /etc/bashrc ]; then
5 . /etc/bashrc
6fi
7
8# User specific environment
9if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
10then
11 PATH="$HOME/.local/bin:$HOME/bin:$PATH"
12fi
13export 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
27export PS1="[\[\033[01;32m\]\u\[\033[00m\]@\h \w]\\$ "
28
29export HISTSIZE=10000
30export HISTCONTROL=ignorespace:erasedups
31shopt -s checkwinsize
32
33export LANG=en_US.UTF-8
34export 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 @@
1source ~/.git-prompt.sh
2
3export PATH=~/.bin:$PATH
4export PYTHONPATH=/home/sgs/.pythonpath
5
6export PS1='[\u@\[\033[0;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ '
7
8export HISTSIZE=10000
9export HISTCONTROL=ignorespace:erasedups
10shopt -s checkwinsize
11
12export LANG=en_US.UTF-8
13export EDITOR=emacs
14
15alias s='screen -r'
16
17## tunnels ##
18alias ssocks='ssh -2 -4 -N -n -T -D 9999'
19#############
20
21## logins ##
22alias server='ssh -2 -4 mb'
23alias lfg='ssh -2 -4 fg'
24############
25
26## general flask ##
27export FLASK_DEBUG=1
28export FLASK_ENV=development
29###################