From 25a51e73e249fbb0fc4e0d904abbbb458f741cf5 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 11 Jun 2009 15:58:09 +0200 Subject: [PATCH] zsh: Add shortcut alias for clear. --- zsh/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 3e3be66..77b9f3c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -195,7 +195,7 @@ if [[ $TERM == screen* || $TERM == xterm* ]]; then # Ignore often used commands which are only running for a very short # time. This prevents a "blinking" name when it's changed to "cd" for # example and then some milliseconds later back to "zsh". - [[ $program_name == (cd*|ls|la|ll|clear) ]] && return + [[ $program_name == (cd*|ls|la|ll|clear|c) ]] && return # Change my shortcuts so the real name of the program is displayed. case $program_name in @@ -365,6 +365,7 @@ alias -g ....='../../..' alias -g .....='../../../..' # Shortcuts for often used programs. +alias c='clear' alias e='elinks' alias g='git' alias m='mutt' -- 2.45.2