From db82c805b43bf5bc17c1604e7b1ca5c21cdc6422 Mon Sep 17 00:00:00 2001 From: Wei Dai Date: Sun, 12 Aug 2012 12:51:13 -0700 Subject: [PATCH] Clearer messages regarding `-s` option. [gh-10] Thanks @sorin-ionescu --- README.md | 6 +++--- fasd | 4 ++-- fasd.1 | 10 +++++----- fasd.1.md | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ae046c4..1867018 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Fasd comes with some useful aliases by default: ```sh alias a='fasd -a' # any -alias s='fasd -s' # show / search / select +alias s='fasd -si' # show / search / select alias d='fasd -d' # directory alias f='fasd -f' # file alias sd='fasd -sid' # interactive directory selection @@ -218,8 +218,8 @@ busybox ash, FreeBSD 9 /bin/sh and OpenBSD /bin/sh. fasd [options] [query ...] [f|a|s|d|z] [options] [query ...] options: - -s show list of files with their ranks - -l list paths only + -s list paths with scores + -l list paths without scores -i interactive mode -e set command to execute on the result file -b only use backend diff --git a/fasd b/fasd index e266058..1c59349 100755 --- a/fasd +++ b/fasd @@ -542,8 +542,8 @@ $(fasd --backend $each)" h*) [ -z "$comp" ] && echo "fasd [options] [query ...] [f|a|s|d|z] [opions] [query ...] options: - -s show list of files with their ranks - -l list paths only + -s list paths with scores + -l list paths without scores -i interactive mode -e set command to execute on the result file -b only use backend diff --git a/fasd.1 b/fasd.1 index 14693e0..d7d2f48 100644 --- a/fasd.1 +++ b/fasd.1 @@ -13,8 +13,8 @@ fasd [-A|-D] [paths ...] .IP .nf \f[C] --s\ \ \ \ \ \ \ \ \ show\ list\ of\ files\ with\ their\ ranks --l\ \ \ \ \ \ \ \ \ list\ paths\ only +-s\ \ \ \ \ \ \ \ \ list\ paths\ with\ ranks +-l\ \ \ \ \ \ \ \ \ list\ paths\ without\ ranks -i\ \ \ \ \ \ \ \ \ interactive\ mode -e\ \ \ \ set\ command\ to\ execute\ on\ the\ result\ file -b\ \ \ only\ use\ \ backend @@ -215,9 +215,9 @@ into fasd\[aq]s native format. As of now, fasd supports Gtk\[aq]s \f[C]recently-used.xbel\f[] and Vim\[aq]s \f[C]viminfo\f[] backends. You can define your own backend by declaring a function by that name in -your \f[C]\&.fasdrc\f[]. +your \f[C].fasdrc\f[]. You set default backend with \f[C]_FASD_BACKENDS\f[] variable in our -\f[C]\&.fasdrc\f[]. +\f[C].fasdrc\f[]. .SH TWEAKS .PP Upon every execution, fasd will source "/etc/fasdrc" and "$HOME/.fasdrc" @@ -283,7 +283,7 @@ If fasd does not work as expected, please file a bug report on GitHub describing the unexpected behavior along with your OS version, shell version, awk version, sed version, and a log file. .PP -You can set \f[C]_FASD_SINK\f[] in your \f[C]\&.fasdrc\f[] to obtain a +You can set \f[C]_FASD_SINK\f[] in your \f[C].fasdrc\f[] to obtain a log. .IP .nf diff --git a/fasd.1.md b/fasd.1.md index aa4bc15..6eadaea 100644 --- a/fasd.1.md +++ b/fasd.1.md @@ -16,8 +16,8 @@ fasd [-A|-D] [paths ...] # OPTIONS - -s show list of files with their ranks - -l list paths only + -s list paths with ranks + -l list paths without ranks -i interactive mode -e set command to execute on the result file -b only use backend