alias arp-list="arp -an"
alias pdf2jpegs='gs -dNOPAUSE -sDEVICE=jpeg -dFirstPage=1 -dLastPage=5 -sOutputFile=pdf2jpegs%d.jpg -dJPEGQ=100 -r500 -c quit'
alias nb-maildir-make="maildirmake -S Maildir; for d in Spam Trash Sent;do maildirmake -f $d Maildir; done"
-which timeout 1>/dev/null || alias timeout="perl -e 'alarm(shift @ARGV); exec @ARGV' --"
-
#[ "$UID" = "0" ] && grep -q '^_\?postgres:' /etc/passwd && alias psql='sudo -u postgres psql'
# FUNCTIONS - SH
#
#################################################################################
+if ! which timeout 1>/dev/null; then
+timeout() {
+ perl -e 'alarm(shift @ARGV); exec @ARGV' -- $@
+}
+fi
+
shell_help() {
#
# Print help message and return true if args contains -?-h(elp)?