alias wol-vapier='wakeonlan -i 192.168.1.255 00:25:22:64:19:79; wakeonlan -i 192.168.0.255 00:25:22:64:19:79'
if [[ ${TERM} != "dumb" ]] ; then
- alias grep='grep --colour=auto'
+ alias grep='grep --colour=auto -d skip'
alias ls='ls --color=auto'
fi
grep-svn() { find '(' -wholename '*/.svn' -prune -o -type f -print0 ')' | xargs -0 grep "$@" ; }
scrub_patch() {
- sed -i \
- -e '/^index /d' \
+ sed -i \
+ -e '/^index /d' \
-e '/^new file mode /d' \
- -e '/^Index:/d' \
+ -e '/^Index:/d' \
-e '/^=========/d' \
-e '/^RCS file:/d' \
-e '/^retrieving/d' \
-e '/^Files .* differ$/d' \
-e '/^Only in /d' \
-e '/^Common subdirectories/d' \
- -e '/^+++/s:\t.*::' \
- -e '/^---/s:\t.*::' \
- "$@"
+ -e '/^deleted file mode [0-9]*$/d' \
+ -e '/^+++/s:\t.*::' \
+ -e '/^---/s:\t.*::' \
+ "$@"
}
scrub_html() {