From ef25f1d22fdc28d35eb3dd0fca5570d5b16506ce Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 30 Nov 2011 19:06:11 +0100 Subject: [PATCH] zshrc: Remove correction-disabled aliases We do not set correct_all, so we do not need them. Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 12 ------------ etc/zsh/zshrc | 5 ----- 2 files changed, 17 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 775b68f..98ad496 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -754,9 +754,6 @@ Lists available compilation options for building program from source. : **CO** (//./configure//) Prepares compilation for building program from source. -: **cp** (//nocorrect cp//) -cp(1) without spelling correction. - : **da** (//du -sch//) Prints the summarized disk usage of the arguments as well as a grand total in human readable format. @@ -876,21 +873,12 @@ Lists only executable files. Lists all active md (i.e. linux software raid) devices with some information about them. -: **mkdir** (//nocorrect mkdir//) -mkdir(1) without spelling correction. - : **mq** (//hg -R $(readlink -f $(hg root)/.hg/patches)//) Executes the commands on the versioned patch queue from current repository. -: **mv** (//nocorrect mv//) -mv(1) without spelling correction. - : **rd** (//rmdir//) Short rmdir(1) (remove directory). -: **rm** (//nocorrect rm//) -rm(1) without spelling correction. - : **rmcdir** (//'cd ..; rmdir $OLDPWD || cd $OLDPWD//) rmdir current working directory diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 7861495..e0e84e6 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1428,11 +1428,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 -alias cp='nocorrect cp' # no spelling correction on cp -alias mkdir='nocorrect mkdir' # no spelling correction on mkdir -alias mv='nocorrect mv' # no spelling correction on mv -alias rm='nocorrect rm' # no spelling correction on rm - #a1# Execute \kbd{rmdir} alias rd='rmdir' #a1# Execute \kbd{mkdir} -- 2.1.4