diff options
| author | Simeon Simeonov | 2020-12-08 18:15:34 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2020-12-08 18:15:34 +0100 |
| commit | 0649df5f49e497749b5ded4b675c6874d55fb9e8 (patch) | |
| tree | 0cea97f49d4b9915d85706745702fc97f49fd7fa /FreeBSD/user | |
Initial commit (FreeBSD and Gentoo)
Diffstat (limited to 'FreeBSD/user')
| -rw-r--r-- | FreeBSD/user/.profile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/FreeBSD/user/.profile b/FreeBSD/user/.profile new file mode 100644 index 0000000..c9551c4 --- /dev/null +++ b/FreeBSD/user/.profile | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | # $FreeBSD: stable/12/share/skel/dot.profile 337497 2018-08-08 19:24:20Z asomers $ | ||
| 2 | # | ||
| 3 | # .profile - Bourne Shell startup script for login shells | ||
| 4 | # | ||
| 5 | # see also sh(1), environ(7). | ||
| 6 | # | ||
| 7 | |||
| 8 | # These are normally set through /etc/login.conf. You may override them here | ||
| 9 | # if wanted. | ||
| 10 | # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH | ||
| 11 | # BLOCKSIZE=K; export BLOCKSIZE | ||
| 12 | |||
| 13 | # Setting TERM is normally done through /etc/ttys. Do only override | ||
| 14 | # if you're sure that you'll never log in via telnet or xterm or a | ||
| 15 | # serial line. | ||
| 16 | # TERM=xterm; export TERM | ||
| 17 | |||
| 18 | EDITOR=emacs; export EDITOR | ||
| 19 | PAGER=less; export PAGER | ||
| 20 | |||
| 21 | # set ENV to a file invoked each time sh is started for interactive use. | ||
| 22 | ENV=$HOME/.shrc; export ENV | ||
| 23 | |||
| 24 | # Query terminal size; useful for serial lines. | ||
| 25 | if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi | ||
| 26 | |||
| 27 | |||
| 28 | ## customs ## | ||
| 29 | export PS1="[\u@\[\033[0;32m\]\H\[\033[00m\] \w]\\$ " | ||
| 30 | |||
| 31 | export HISTSIZE=10000 | ||
| 32 | export HISTCONTROL=ignorespace:erasedups | ||
| 33 | export CLICOLOR=yes | ||
| 34 | shopt -s checkwinsize | ||
| 35 | |||
| 36 | alias s='screen -r' | ||
| 37 | alias home='cd /usr/local/www/data-dist/simeon' | ||
| 38 | alias youtube-dl='/usr/local/bin/youtube-dl -f best -o "%(title)s.%(ext)s"' | ||
| 39 | |||
| 40 | # logins # | ||
| 41 | alias bb='ssh -2 -4 sb' | ||
| 42 | alias lblackmore='ssh -2 -4 b' | ||
| 43 | alias lfg='ssh -2 -4 fg' | ||
| 44 | alias lheep='/usr/local/bin/ssh -2 -4 hb' | ||
| 45 | alias lrasp='ssh -2 -4 rp' | ||
| 46 | alias glover='ssh -2 -4 gl' | ||
| 47 | alias lsbjail01='ssh -2 -4 sb-jail01' | ||
| 48 | alias lsbjail02='ssh -2 -4 sb-jail02' | ||
| 49 | ########## | ||
| 50 | |||
| 51 | ## mutt ## | ||
| 52 | alias mgsgs='mutt -F ~/.muttrc.sgs_gmail' | ||
| 53 | alias mblackmore='mutt -F ~/.muttrc.pichove' | ||
| 54 | alias mgueorgss='mutt -F ~/.muttrc.gueorgss_gmail' | ||
| 55 | ########## | ||
| 56 | |||
| 57 | export LANG=en_US.UTF-8 | ||
| 58 | |||
| 59 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ | ||
| 60 | source /usr/local/share/bash-completion/bash_completion.sh | ||
