*) color=36 ;;
esac
-char='$'; [ $UID == "0" ] && char='#'
+char='$'; [ $UID = "0" ] && char='#'
if [ "$color_prompt" = yes ]; then
PS1="\[\033[01;${color}m\]\u@$h:\[\033[00m\]\W${char} "
else
ls_opt="$ls_opt --time-style=long-iso"
[ "$color_prompt" = yes ] && ls_opt="$ls_opt --color=auto"
fi
-[ "$ls_opt" == "" ] || alias ls="ls $ls_opt"
+[ "$ls_opt" = "" ] || alias ls="ls $ls_opt"
unset ls_opt
alias ll='ls -lh'
unset color char color_prompt h
alias arp-list="arp -an"
alias pdf2jpegs='gs -dNOPAUSE -sDEVICE=jpeg -dFirstPage=1 -dLastPage=5 -sOutputFile=pdf2jpegs%d.jpg -dJPEGQ=100 -r500 -c quit'
-#[ "$UID" == "0" ] && grep -q '^_\?postgres:' /etc/passwd && alias psql='sudo -u postgres psql'
+#[ "$UID" = "0" ] && grep -q '^_\?postgres:' /etc/passwd && alias psql='sudo -u postgres psql'
#--------------------------------------------------------------------------------
# Etherwake
#--------------------------------------------------------------------------------
# Get / Head
#
-alias Head="lynx -dump -head -width=1000"
-alias Get="lynx -source -width=1000"
+alias Head="lynx -dump -head -width=0"
+alias Get="lynx -source -width=0"
#--------------------------------------------------------------------------------
# bc
#--------------------------------------------------------------------------------
# xterm
#
-[ -z /usr/bin/xterm ] && alias xterm="xterm -bg black -fg gray -fn 10x20"
+[ -x /usr/bin/xterm ] && alias xterm="xterm -bg black -fg gray -fn 10x20"
#--------------------------------------------------------------------------------
# Torrent