Skip to content

Commit 4abe97f

Browse files
author
skywind3000
committed
jump backwards
1 parent 756d13d commit 4abe97f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ If you want `zb` jump back to a parent directory contains a `.root` or `package.
323323

324324
**Bonus**: `zb ..` equals to `cd ..`, `zb ...` equals to `cd ../..` and `zb ....` equals to `cd ../../..`, and so on. Finally, `zb ..20` equals to `cd (..)x20`.
325325

326+
**Bonus**: try `zb -i` and `zb -I` and you can alias them to `zbi` and `zbf`.
326327

327328
## Completion
328329

@@ -459,6 +460,7 @@ As you see, z.lua is the fastest one and requires less resource.
459460

460461
## History
461462

463+
- 1.8.1 (2020-02-09): new: `z -b -i` and `z -b -I` to jump backwards in interactive mode.
462464
- 1.7.4 (2019-12-29): new: `$_ZL_HYPHEN` to treat hyphen as a normal character, see [here](https://github.com/skywind3000/z.lua/wiki/FAQ#how-to-input-a-hyphen---in-the-keyword-).
463465
- 1.7.3 (2019-09-07): use [lua-filesystem](http://keplerproject.github.io/luafilesystem/) package if possible when `$_ZL_USE_LFS` is `1`.
464466
- 1.7.2 (2019-08-01): Improve bash/zsh shell compatibility by [@barlik](https://github.com/barlik).

z.lua.plugin.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ if [[ -z "$_ZL_NO_ALIASES" ]]; then
2929
alias zc='z -c'
3030
alias zf='z -I'
3131
alias zb='z -b'
32+
alias zbi='z -b -i'
33+
alias zbf='z -b -I'
3234
alias zh='z -I -t .'
3335
alias zzc='zz -c'
3436
fi

0 commit comments

Comments
 (0)