1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-13 03:09:49 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Chris Antos
e646d5baa5 A better fix for the final blank line. 2020-12-30 05:00:26 -08:00
Chris Antos
be90b1a528 Match original output.
Originally `z foo` printed a blank line after the command.  My recent
change accidentally changed how CMD interpreted the end of the file such
that CMD stopped printing the blank line.  This change adjusts the end
of the file to once again cause CMD to print a blank line on finish.
2020-12-30 04:50:29 -08:00
Chris Antos
bda94435fc Fix leaked pushd.
`z somedir` uses double `pushd` to tunnel the new path out past the
endlocal that restores the environment state.  But it ended up leaving
a pushd on the dir stack.

This change exploits normal variable expansion to restore the dir stack
to its initial state while still successfully tunneling the new path out
past the endlocal.
2020-12-30 04:42:05 -08:00
skywind3000
c90279b677 expose '--add' in cmd.exe 2020-10-31 18:59:03 +08:00
skywind3000
1c9c5eb444 add newline for cmd 2019-02-15 12:16:25 +08:00
skywind3000
78c170c988 update batch file 2019-02-06 20:42:47 +08:00
skywind3000
ab848bd9ca version 1.1.0, supports fzf by z -I xxx 2019-02-02 15:25:35 +08:00
skywind3000
3092d82408 new: interactive mode '-i' 2018-12-26 21:03:30 +08:00
skywind3000
39c8c67a30 new _ZL_ECHO variable 2018-12-02 01:26:01 +08:00
skywind3000
daba2fe400 new: z -x path to remove path in history 2018-11-23 16:41:20 +08:00
skywind3000
33a8ad3f5b commit new z.cmd 2018-11-21 17:43:11 +08:00
skywind3000
f3a0dca495 add echo pwd 2018-03-30 13:15:00 +08:00
skywind3000
5d06b93347 update z.cmd 2018-03-23 18:51:05 +08:00
skywind3000
bc99531938 update z.cmd 2018-03-21 20:58:40 +08:00