diff --git a/doc/grmlzshrc.adoc b/doc/grmlzshrc.adoc index 463bd2d..77f3876 100644 --- a/doc/grmlzshrc.adoc +++ b/doc/grmlzshrc.adoc @@ -641,12 +641,6 @@ If no argument is specified N is set to 1. *any()*:: Lists processes matching given pattern. -*asc()*:: -Login on the host provided as argument using autossh. Then reattach a GNU screen -session if a detached session is around or detach a currently attached screen or -else start a new screen. This is especially useful for roadwarriors using GNU -screen and ssh. - *bk()*:: Simple backup management of a file or directory using standard unix programs. The target file name is the original name plus a time stamp attached. Symlinks diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 35b726c..bdda582 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2472,12 +2472,6 @@ if [[ -x /sbin/kexec ]] && [[ -r /proc/cmdline ]] ; then alias "$(uname -r)-reboot"="kexec -l --initrd=/boot/initrd.img-"$(uname -r)" --command-line=\"$(cat /proc/cmdline)\" /boot/vmlinuz-"$(uname -r)"" fi -# especially for roadwarriors using GNU screen and ssh: -if ! check_com -g asc && check_com -c autossh && check_com -c screen &>/dev/null ; then - function asc () { autossh -t "$@" 'screen -RdU' } - compdef asc=ssh -fi - #f1# Hints for the use of zsh on grml function zsh-help () { print "$bg[white]$fg[black]