]>
Commit | Line | Data |
---|---|---|
5b61754d MF |
1 | [[ $- != *i* ]] && return |
2 | ||
1afdf944 | 3 | alias axine='xine -A null' |
5b61754d | 4 | alias bc='bc -q' |
1afdf944 MF |
5 | #alias bittorrent-curses='bittorrent-curses --max_upload_rate 10' |
6 | #alias bt='bittorrent-curses --max_upload_rate 10 --save_in . --save_incomplete_in .' | |
5b61754d | 7 | alias duh='du . --max-depth=1 -h' |
63d15f58 | 8 | alias eclipse='eclipse-3.2 -vmargs -Xmx512m' |
5b61754d | 9 | alias gdb='gdb --quiet' |
1afdf944 | 10 | alias gdbtui='gdbtui --quiet' |
5b61754d MF |
11 | alias grep='grep --colour=auto' |
12 | alias ls='ls --color=auto' | |
13 | alias lynx='lynx -nopause -accept_all_cookies -use_mouse' | |
14 | alias minicom='minicom -w -c on' | |
15 | alias nslookup='nslookup -sil' | |
1afdf944 MF |
16 | alias quake4='quake4 +set s_driver oss' |
17 | alias repoman='repoman -q -q' | |
025d46ca | 18 | alias rrsync='rsync -av --inplace --progress' |
5b61754d MF |
19 | alias s='aspell -a' |
20 | ss() { aspell -a <<<"$*"; } | |
1afdf944 | 21 | alias xine='xine -l' |
5b61754d MF |
22 | |
23 | grep-svn() { find '(' -wholename '*/.svn' -prune -o -type f -print0 ')' | xargs -0 grep "$@" ; } | |
24 | ||
25 | scrub_patch() { | |
26 | sed -i \ | |
27 | -e '/^index /d' \ | |
28 | -e '/^new file mode /d' \ | |
29 | -e '/^Index:/d' \ | |
30 | -e '/^=========/d' \ | |
31 | -e '/^RCS file:/d' \ | |
32 | -e '/^retrieving/d' \ | |
33 | -e '/^diff/d' \ | |
34 | -e '/^Files .* differ$/d' \ | |
35 | -e '/^Only in /d' \ | |
36 | -e '/^Common subdirectories/d' \ | |
37 | -e '/^+++/s:\t.*::' \ | |
38 | -e '/^---/s:\t.*::' \ | |
39 | "$@" | |
40 | } | |
41 | ||
1afdf944 MF |
42 | scrub_html() { |
43 | sed -i \ | |
44 | -e 's:<:<:g' -e 's:>:>:g' \ | |
45 | -e 's: ::g' -e 's:&:\&:g' \ | |
46 | -e 's:":":g' \ | |
47 | "$@" | |
5b61754d | 48 | } |