elif [[ $OSTYPE == freebsd* ]]; then
ls_options=( -G )
fi
-if grep --help 2> /dev/null | grep -q GNU; then
+if grep --help 2> /dev/null | grep -q GNU || \
+ [[ $OSTYPE == freebsd* ]]; then
grep_options=( --color=auto )
fi
alias lsa='ls -a .*(.)' # only show dot-files
#a2# Only files with setgid/setuid/sticky flag
alias lss='ls -l *(s,S,t)' # only files with setgid/setuid/sticky flag
-#a2# Only show 1st ten symlinks
+#a2# Only show symlinks
alias lsl='ls -l *(@)' # only symlinks
#a2# Display only executables
alias lsx='ls -l *(*)' # only executables
alias insecssh='ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
alias insecscp='scp -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
-# simple webserver
-check_com -c python && alias http="python -m SimpleHTTPServer"
-
# work around non utf8 capable software in utf environment via $LANG and luit
if check_com isutfenv && check_com luit ; then
if check_com -c mrxvt ; then
# use colors when GNU grep with color-support
#a2# Execute \kbd{grep -{}-color=auto}
-(( $#grml_options > 0 )) && alias grep='grep '${grml_options:+"${grml_options[*]} "}'
+(( $#grep_options > 0 )) && alias grep='grep '${grep_options:+"${grep_options[*]} "}
# Translate DE<=>EN
# 'translate' looks up fot a word in a file with language-to-language