From ba449fa028208bf0da4ea7cf11884bb862ffa93b Mon Sep 17 00:00:00 2001 From: Sebastian Tramp Date: Mon, 27 Dec 2010 15:56:39 +0100 Subject: [PATCH] more flexible alias edit aliases --- aliases | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aliases b/aliases index af0c29d..a7f8e71 100644 --- a/aliases +++ b/aliases @@ -4,9 +4,9 @@ # alias definitions which can be edited/modified with 'aedit' # -alias aedit=" nano ~/.zsh/aliases; source ~/.zsh/aliases" -alias fedit=" nano ~/.zsh/functions; source ~/.zsh/functions" -alias pedit=" nano ~/.zsh/private; source ~/.zsh/private" +alias aedit=" $EDITOR ~/.zsh/aliases; source ~/.zsh/aliases" +alias fedit=" $EDITOR ~/.zsh/functions; source ~/.zsh/functions" +alias pedit=" $EDITOR ~/.zsh/private; source ~/.zsh/private" #alias man="unset PAGER; man" alias grep='grep --color=auto' @@ -49,6 +49,7 @@ alias -s jar="java -jar" alias -s iso="vlc" alias -s avi="xdg-open" +alias -s mov="xdg-open" alias -s mpg="xdg-open" alias -s m4v="xdg-open" alias -s ogg="xdg-open"