# $FreeBSD: src/share/skel/dot.profile,v 1.18.2.1 1999/08/29 16:47:52 peter Exp $
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/libexec:$HOME/bin:$HOME; export PATH

# set ENV to a file invoked each time sh is started for interactive use.
BASH_ENV=$HOME/.bashrc; export BASH_ENV
ENV=$HOME/.bashrc; export ENV

. $BASH_ENV

# 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.
# Use cons25l1 for iso-* fonts
TERM=xterm-256color; 	export TERM
LINES=43;		export LINES
BLOCKSIZE=K;		export BLOCKSIZE
EDITOR=vim;   		export EDITOR
PAGER=less;  		export PAGER
NNTPSERVER=news.lucky.net;	export NNTPSERVER
LYNX_TEMP_SPACE=/tmp; export LYNX_TEMP_SPACE

LANG=uk_UA.UTF-8;	export LANG
MM_CHARSET=UTF-8;	export MM_CHARSET

PS1="\n\r( \w )\n\r\\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]>"
export PS1
#='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

# alases
alias j='jobs'
alias ll='ls -laFo'
alias g='egrep -i'
alias h='history 25'
alias lf='ls -CFa'
alias lock='lock -pn'
alias tt='traceroute'
alias jo='joe'
alias mf='mutt -f'
alias lt='locate'
alias w='w -i|tail'
alias whua='whois -h whois.com.ua'
alias whrp='whois -h whois.ripe.net'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'


color_prompt=yes

# A rightous umask
umask 022

# Allow terminal messages
mesg y

# Allow biff to send mail notifications
biff n

# Display simplifed banner
printf "\n------------------------------------- \n"
printf "Current ussers logged :\n"
w
printf "\nLast logins for $USER :\n"
last -5 $USER
printf "\nScreens for $USER :\n"
screen -list
printf "\nLast system messages :\n"
dmesg -HT |tail
printf "\n------------------------------------- \n"

 
