From 16f4c7b468fab6dc12f993c3501b38fbccbb9af3 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Wed, 6 Feb 2019 22:41:29 +0800 Subject: [PATCH] update doc --- README.cn.md | 4 +++- README.md | 15 ++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.cn.md b/README.cn.md index 3648962..8f6ac1d 100644 --- a/README.cn.md +++ b/README.cn.md @@ -34,7 +34,9 @@ z -t foo # 跳转到包含 foo 并且最近访问过的路径 z -l foo # 不跳转,只是列出所有匹配 foo 的路径 z -c foo # 跳转到包含 foo 并且是当前路径的子路径的权重最高的路径 z -e foo # 不跳转,只是打印出匹配 foo 并且权重最高的路径 -z -i foo # 就进入交互式选择模式,让你自己挑选去哪里(多个结果的话) +z -i foo # 进入交互式选择模式,让你自己挑选去哪里(多个结果的话) +z -I foo # 进入交互式选择模式,但是使用 fzf 来选择 +z -b foo # 跳转到父目录中名称以 foo 开头的那一级 ``` diff --git a/README.md b/README.md index 715e811..33dd158 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ z -l foo # list matches instead of cd z -c foo # restrict matches to subdirs of $PWD z -e foo # echo the best match, don't cd z -i foo # cd with interactive selection +z -I foo # cd with interactive selection using fzf +z -b foo # cd to the parent directory starting with foo ``` @@ -387,6 +389,14 @@ FN="$HOME/.local/share/autojump/autojump.txt" awk -F '\t' '{print $2 "|" $1 "|" 0}' $FN >> ~/.zlua ``` +## Reputation + +- "I like this in principal. I’m pretty damn predictable at the command line and far too lazy to make shortcuts" +- "It feels far more intuitive and it's so incredibly convenient to be able to jump between folders I'm working in without having to traverse an entire tree. The shell used to feel so constraining for me, but tools like this are making me enjoy it so much more. " +- "I can finally have autojump-like functionality on my Raspberry Pi 1 without waiting 30 seconds every time I open a new shell. Thanks z.lua devs." +- "Anyway, z.lua is a promising project. If you only need directory jumping, it may be the best choice." + + ## History - 1.4.2 (2019-02-06): you can disabled path validation by `$_ZL_NO_CHECK`, and use `z --purge` to clear bad paths manually. @@ -405,11 +415,6 @@ awk -F '\t' '{print $2 "|" $1 "|" 0}' $FN >> ~/.zlua - 0.0.0 (2018-03-21): initial commit, compatible with original z.sh. -## Reputation - -- "I like this in principal. I’m pretty damn predictable at the command line and far too lazy to make shortcuts" -- "Anyway, z.lua is a promising project. If you only need directory jumping, it may be the best choice." -- "I can finally have autojump-like functionality on my Raspberry Pi 1 without waiting 30 seconds every time I open a new shell. Thanks z.lua devs." ## Thanks