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""