Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Lists files (including dot files) sorted by size (biggest last) in long and
human readable output format.
Lists files (including dot files) sorted by size (biggest last) in long and
human readable output format.
-: **g** (//git//)
-Revision control system by Linus Torvalds.
-
: **ge** (//grep-excuses//)
Searches the testing excuses files for a specific maintainer (See:
grep-excuses(1)).
: **ge** (//grep-excuses//)
Searches the testing excuses files for a specific maintainer (See:
grep-excuses(1)).
with users .screenrc config if it exists, else use /etc/grml/screenrc_grml
as configuration.
with users .screenrc config if it exists, else use /etc/grml/screenrc_grml
as configuration.
-: **S** (//screen//)
-Short for screen(1).
-
-: **s** (//ssh//)
-Short for ssh(1).
-
: **su** (//sudo su//)
If user is running a grml live-CD, dont ask for any password, if she
wants a root shell.
: **su** (//sudo su//)
If user is running a grml live-CD, dont ask for any password, if she
wants a root shell.
After calling, characters of URLs as typed get automatically escaped, if necessary, to
protect them from the shell.
After calling, characters of URLs as typed get automatically escaped, if necessary, to
protect them from the shell.
-: **0** (//return 0//)
-Gives a clean prompt (i.e. without $?).
-
: **$(uname -r)-reboot** (//kexec -l --initrd=/boot/initrd.img-"$(uname -r)" --command-line=\"$(cat /proc/cmdline)\" /boot/vmlinuz-"$(uname -r)"//)
Reboots using kexec(8) and thus reduces boot time by skipping hardware initialization of BIOS/firmware.
: **$(uname -r)-reboot** (//kexec -l --initrd=/boot/initrd.img-"$(uname -r)" --command-line=\"$(cat /proc/cmdline)\" /boot/vmlinuz-"$(uname -r)"//)
Reboots using kexec(8) and thus reduces boot time by skipping hardware initialization of BIOS/firmware.
-# I like clean prompt, so provide simple way to get that
-check_com 0 || alias 0='return 0'
-
-# for really lazy people like mika:
-check_com S &>/dev/null || alias S='screen'
-check_com s &>/dev/null || alias s='ssh'
-
# especially for roadwarriors using GNU screen and ssh:
if ! check_com asc &>/dev/null ; then
asc() { autossh -t "$@" 'screen -RdU' }
# especially for roadwarriors using GNU screen and ssh:
if ! check_com asc &>/dev/null ; then
asc() { autossh -t "$@" 'screen -RdU' }
# simple webserver
check_com -c python && alias http="python -m SimpleHTTPServer"
# simple webserver
check_com -c python && alias http="python -m SimpleHTTPServer"
-# Use 'g' instead of 'git':
-check_com g || alias g='git'
-
# 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
# 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