From 8984851d0c0f9416d0ee8d73bbc8ea10085b84b8 Mon Sep 17 00:00:00 2001 From: Matt Parnell Date: Thu, 20 Oct 2011 21:06:52 -0500 Subject: [PATCH] add some attribution and help...but really it's not needed...3 lines of code --- plugins/aliases/aliases.plugin.zsh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugins/aliases/aliases.plugin.zsh b/plugins/aliases/aliases.plugin.zsh index a818d7c1d..451f93394 100644 --- a/plugins/aliases/aliases.plugin.zsh +++ b/plugins/aliases/aliases.plugin.zsh @@ -1,3 +1,19 @@ +# These three lines of simple code originally by ilikenwf/Matt Parnell +# simply import the ~/.aliases file if it exists when the plugin is +# enabled. + +# By doing so, you can have custom aliases for various actions, without +# having to do something like push your aliases to github for security +# reasons, and for a nice simple divide. + +# If you have a better place to put the .aliases file, or improvements, +# please put a pull request into my oh-my-zsh fork if you don't put it +# in the main oh-my-zsh repo. + +# Example aliases: +# alias tunnel="ssh -D 3290 user@host.com" +# alias vnc="vncviewer -compresslevel 0 -q 0 localhost:2985" + if [ -f ~/.aliases ] ; then source ~/.aliases fi