From 861ad3000a8fdb08aa81e578e7584ce152b035a9 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 22 Aug 2012 02:46:30 +1200 Subject: [PATCH] Added 'ls' demo to README --- README.markdown | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 4c769ef..fa21ba5 100644 --- a/README.markdown +++ b/README.markdown @@ -20,13 +20,20 @@ Whenever you view your SCM status, each modified path is stored in a numbered en You can configure the variable prefix, which is 'e' by default. -### git_status_shortcuts(): +### Git Status Shortcuts:
Git Status With Shortcuts

+### UPDATE: Now with 'ls' shortcuts: + +
+Ls With Shortcuts +
+
+ These numbers (or ranges of numbers) can be used with any SCM or system command. For example, if `ga` was your alias for `git add`, instead of typing something like: @@ -314,15 +321,15 @@ In your `git.scmbrc` config file, just set the `git_setup_aliases` option to `no Your existing git aliases will then be used, and you will still be able to use the numeric shortcuts feature. SCM Breeze creates a function to wrap the 'git' command, which expands numeric arguments, and uses `hub` if available. -A few aliases will still be defined for the central SCM Breeze features, such as `gs` for the extended `git status`, +A few aliases will still be defined for the central SCM Breeze features, such as `gs` for the extended `git status`, and `ga` for the `git add` function. -If you already have an alias like `alias gco="git checkout"`, +If you already have an alias like `alias gco="git checkout"`, you can now type `gco 1` to checkout the first file in the output of SCM Breeze's `git status`. # Notes about Tab Completion for Aliases -### Bash +### Bash If you use your own aliases, SCM Breeze will **not** set up bash tab completion for your aliases. You will need to set that up yourself.