# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
export LANG="en_CA.UTF-8"
# If running interactively, then:
if [ "$PS1" ]; then
# don't put duplicate lines in the history. See bash(1) for more options
# export HISTCONTROL=ignoredups
# enable color support of ls and also add handy aliases
eval `dircolors -b`
alias ls='ls --color=auto'
alias ll='ls -hl'
alias la='ls -Ah'
alias x='startx > /var/log/x.log 2>&1'
alias clear='clear;fortune -ae'
alias nstll='sudo apt-get install '
alias upgrade='apt-get update && apt-get dist-upgrade'
alias rmv='sudo apt-get remove '
alias apt-get='sudo apt-get'
alias dpkg='sudo dpkg'
alias vi='vim'
alias vii='sudo vim '
alias reboot='sudo reboot'
alias halt='sudo halt -p'
alias card="mount /dev/sda1;ls /mnt/card"
alias uncard="umount /mnt/card"
alias key="mount /dev/sda;ls /mnt/key"
alias unkey="umount /mnt/key"
alias dos2unix="flip -uv "
alias unix2dos="flip -mv "
alias spmlearn='sa-learn --mbox --spam /home/willyyam/Mail/spam;rm /home/willyyam/Mail/spam;touch /home/willyyam/Mail/spam'
alias pal="pal -r 5"
alias xconsole="Eterm -t xconsole &"
alias flug="ssh ohiggins@flug.fis.utoronto.ca"
alias frozen-bubble="frozen-bubble -ns"
# set a fancy prompt
PS1='\[\033[0;32m\]\t \[\033[1;31m\]\w \[\033[0;32m\]]\[\033[0m\] '
#PS1='\[\033[1;33m\]\t \[\033[1;34m\]\w \[\033[1;33m\]]\[\033[0m\] '
case $TERM in
Eterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
urxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
xfce4-terminal*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
*)
esac
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc).
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
fi
config
eterm theme
<Eterm-0.9.2>
begin color
foreground white
background black
cursor #ffff00
cursor_text #880000
pointer white
video normal
end color
begin attributes
geometry 80x56
end attributes
begin imageclasses
path "/usr/share/Eterm/pix/"
begin image
type background
mode trans allow trans auto
state normal
cmod image 100
end image
end imageclasses
begin toggles
map_alert on
visual_bell on
login_shell true
scrollbar off
utmp_logging on
iconic false
home_on_output 1
home_on_input 1
scrollbar_right true
scrollbar_floating false
borderless false
end toggles
begin keyboard
smallfont_key LessThan
bigfont_key GreaterThan
end keyboard
begin misc
save_lines 1024
cut_chars "t\\`\\"'&() *,;< =>?@[]{|}"
border_width 0
end misc
postfix
# This is main.cf, the only file I need to noodle with. # Do not change these directory settings - they are critical to Postfix # operation. command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix setgid_group = postdrop # appending .domain is the MUA's job. append_dot_mydomain = no smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # Uncomment the next line to generate delayed mail warnings #delay_warning_time = 4h # This is useful - a catchall to which all mail goes if there appears # to be no recipient. luser_relay = local@email-address myhostname = local_hostname alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = local_hostname, localhost relayhost = smtp_address_of_isp mynetworks = 127.0.0.0/8 mailbox_command = /usr/bin/procmail mailbox_size_limit = 0 recipient_delimiter = +