From ac2dc9f1d2f58808659b2bef8c9f65d326046ce2 Mon Sep 17 00:00:00 2001 From: William Ting Date: Fri, 1 Feb 2013 13:57:54 -0600 Subject: [PATCH] update docs about jo(), jc(), jco() --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 08e0ee2..85252ff 100644 --- a/README.md +++ b/README.md @@ -193,23 +193,27 @@ ADDITIONAL CONFIGURATION Changes require reloading autojump to take into effect. -- Use a File Manager to Open Jumped-to Directories - You can modify your \~/.bashrc or \~/.zsh to make autojump open a - directory for you. Add the following lines in your \~/.bashrc or - \~/.zshrc: +ADVANCED USAGE +-------------- - function jo { xdg-open $(autojump $@); } - complete -F _autojump jo +- Open File Manager To Directories (instead of jumping) - If you're using Mac OS X, you can replace `xdg-open` with `open`. + Instead of jumping to a directory, you can open a file explorer window (Mac + Finder, Windows Explorer, GNOME Nautilus, etc) to the directory instead. - After executing `source ~/.bashrc` or `source ~/.zshrc`, you can try - `jo foo`, which behaves like `j foo` except that it opens the `foo` - directory with a file manager. + jo music -ADVANCED USAGE --------------- +- Jump to a Child Directory. + + Sometimes it's convenient to jump to a child directory (sub-directory of + current directory) rather than typing out the full name. + + jc images + + Opening a file manager to a child directory is also supported. + + jco images - Using Multiple Arguments