From 0649df5f49e497749b5ded4b675c6874d55fb9e8 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 8 Dec 2020 18:15:34 +0100 Subject: Initial commit (FreeBSD and Gentoo) --- FreeBSD/user/.profile | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 FreeBSD/user/.profile (limited to 'FreeBSD/user') 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 @@ +# $FreeBSD: stable/12/share/skel/dot.profile 337497 2018-08-08 19:24:20Z asomers $ +# +# .profile - Bourne Shell startup script for login shells +# +# see also sh(1), environ(7). +# + +# These are normally set through /etc/login.conf. You may override them here +# if wanted. +# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH +# BLOCKSIZE=K; export BLOCKSIZE + +# Setting TERM is normally done through /etc/ttys. Do only override +# if you're sure that you'll never log in via telnet or xterm or a +# serial line. +# TERM=xterm; export TERM + +EDITOR=emacs; export EDITOR +PAGER=less; export PAGER + +# set ENV to a file invoked each time sh is started for interactive use. +ENV=$HOME/.shrc; export ENV + +# Query terminal size; useful for serial lines. +if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi + + +## customs ## +export PS1="[\u@\[\033[0;32m\]\H\[\033[00m\] \w]\\$ " + +export HISTSIZE=10000 +export HISTCONTROL=ignorespace:erasedups +export CLICOLOR=yes +shopt -s checkwinsize + +alias s='screen -r' +alias home='cd /usr/local/www/data-dist/simeon' +alias youtube-dl='/usr/local/bin/youtube-dl -f best -o "%(title)s.%(ext)s"' + +# logins # +alias bb='ssh -2 -4 sb' +alias lblackmore='ssh -2 -4 b' +alias lfg='ssh -2 -4 fg' +alias lheep='/usr/local/bin/ssh -2 -4 hb' +alias lrasp='ssh -2 -4 rp' +alias glover='ssh -2 -4 gl' +alias lsbjail01='ssh -2 -4 sb-jail01' +alias lsbjail02='ssh -2 -4 sb-jail02' +########## + +## mutt ## +alias mgsgs='mutt -F ~/.muttrc.sgs_gmail' +alias mblackmore='mutt -F ~/.muttrc.pichove' +alias mgueorgss='mutt -F ~/.muttrc.gueorgss_gmail' +########## + +export LANG=en_US.UTF-8 + +[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ + source /usr/local/share/bash-completion/bash_completion.sh -- cgit v1.3