Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions doc/grmlzshrc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions etc/zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down