]>
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' |
ca0cd585 | 9 | alias g='git' |
5b61754d | 10 | alias gdb='gdb --quiet' |
1afdf944 | 11 | alias gdbtui='gdbtui --quiet' |
5b61754d | 12 | alias grep='grep --colour=auto' |
8a844016 | 13 | alias nohist='export HISTFILE=/dev/null' |
d85737d7 | 14 | alias kpdf='okular' |
5b61754d MF |
15 | alias ls='ls --color=auto' |
16 | alias lynx='lynx -nopause -accept_all_cookies -use_mouse' | |
17 | alias minicom='minicom -w -c on' | |
18 | alias nslookup='nslookup -sil' | |
1afdf944 MF |
19 | alias quake4='quake4 +set s_driver oss' |
20 | alias repoman='repoman -q -q' | |
025d46ca | 21 | alias rrsync='rsync -av --inplace --progress' |
5b61754d MF |
22 | alias s='aspell -a' |
23 | ss() { aspell -a <<<"$*"; } | |
1afdf944 | 24 | alias xine='xine -l' |
5b61754d MF |
25 | |
26 | grep-svn() { find '(' -wholename '*/.svn' -prune -o -type f -print0 ')' | xargs -0 grep "$@" ; } | |
27 | ||
28 | scrub_patch() { | |
29 | sed -i \ | |
30 | -e '/^index /d' \ | |
31 | -e '/^new file mode /d' \ | |
32 | -e '/^Index:/d' \ | |
33 | -e '/^=========/d' \ | |
34 | -e '/^RCS file:/d' \ | |
35 | -e '/^retrieving/d' \ | |
36 | -e '/^diff/d' \ | |
37 | -e '/^Files .* differ$/d' \ | |
38 | -e '/^Only in /d' \ | |
39 | -e '/^Common subdirectories/d' \ | |
40 | -e '/^+++/s:\t.*::' \ | |
41 | -e '/^---/s:\t.*::' \ | |
42 | "$@" | |
43 | } | |
44 | ||
1afdf944 MF |
45 | scrub_html() { |
46 | sed -i \ | |
47 | -e 's:<:<:g' -e 's:>:>:g' \ | |
48 | -e 's: ::g' -e 's:&:\&:g' \ | |
49 | -e 's:":":g' \ | |
50 | "$@" | |
5b61754d | 51 | } |