From 819a173f7a58d42c5ab225e8cf84336e4e3833f4 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Thu, 20 Dec 2012 11:39:05 +0400 Subject: [PATCH] Bash: dot-bash and dot-git aliases. --- docs/Bash.md | 4 ++++ includes/bash_aliases.bash | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Bash.md b/docs/Bash.md index a700467..56ae1f7 100644 --- a/docs/Bash.md +++ b/docs/Bash.md @@ -170,3 +170,7 @@ Get OS X software updates, update Homebrew, NPM, Ruby packages, dotfiles and som ### nyan Print nyan cat :-) + +### dot-bash / dot-git + +Display Bash aliases (this file) or Git aliases cheat sheets in Quick Look. diff --git a/includes/bash_aliases.bash b/includes/bash_aliases.bash index 8c86ccb..28ab31b 100644 --- a/includes/bash_aliases.bash +++ b/includes/bash_aliases.bash @@ -95,4 +95,7 @@ gi() { grunt init:$@; } function proj { cd "$("$HOME/dotfiles/bin/opener.py" "$HOME/Dropbox/Projects" $1 -w project $2)"; } function repo { cd "$("$HOME/dotfiles/bin/opener.py" "$HOME/Dropbox/Projects" $1 -w repo $2)"; } function wptheme { cd "$("$HOME/dotfiles/bin/opener.py" "$HOME/Dropbox/Projects" $1 -w wptheme $2)"; } - \ No newline at end of file + +# Dotfiles help +alias dot-bash="qlmanage -p "$HOME/dotfiles/docs/Bash.md"" +alias dot-git="qlmanage -p "$HOME/dotfiles/docs/Git.md""