1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-24 00:29:48 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
manhong2112
6b3dad6b18 [=] move pwd outside of while loop 2019-02-04 02:51:07 +08:00
manhong2112
77c96548b6 [+] init enchaned, once
[+] _ZL_NO_PROMPT_COMMAND
[+] Prevent repeating init
[+] pwd
[=] change default value of LuaExe
[=] fix wrong impl of _ZL_RANDOM
[=] fix wrong type of param -t -r
2019-02-04 02:32:51 +08:00
manhong2112
f35d235e02 Upsteam 2019-02-04 02:03:28 +08:00
skywind3000
6cfe10c632 fixed pwd 2019-02-04 01:47:21 +08:00
skywind3000
c597d1d622 new option: '-b' to jump backwards 2019-02-04 00:07:38 +08:00
skywind3000
7f902b28aa update: os.path.abspath 2019-02-03 21:16:24 +08:00
skywind3000
8274913b02 passes all the tests for os.path.split 2019-02-03 20:19:14 +08:00
skywind3000
588b2fc468 passed all path_join tests 2019-02-03 19:34:01 +08:00
skywind3000
99529516fb passes all tests in path_join 2019-02-03 19:02:05 +08:00
skywind3000
5f5df0418b add test 2019-02-03 18:57:37 +08:00
skywind3000
589e474814 refactor string lib and path lib 2019-02-03 17:46:42 +08:00
manhong2112
bfabcee4dd [+] _ZL_RANDOM
[=] change default _ZL_CMD to z
[=] fix -h
2019-02-03 15:13:02 +08:00
manhong2112
d0b1df5a01 [+] _ZL_CMD support 2019-02-03 15:04:22 +08:00
manhong2112
919c3f7229 [+] Param parse of powershell support 2019-02-03 14:47:40 +08:00
manhong2112
7c98dff872 [+] Powershell support 2019-02-03 01:19:26 +08:00
skywind3000
1401eb39a0 fixed: issue on calculating absolute path name of a symbol link 2019-02-03 00:17:37 +08:00
Daniel Lewan
a84d0e2c13 add fish completion for -i and -I options 2019-02-02 13:15:22 +01:00
skywind3000
38f0d99668 fixed: fzf height issue 2019-02-02 15:29:58 +08:00
skywind3000
ab848bd9ca version 1.1.0, supports fzf by z -I xxx 2019-02-02 15:25:35 +08:00
skywind3000
a63d1210f9 fixed: fish shell completion setup parameters error and
close https://github.com/skywind3000/z.lua/issues/16
2019-02-01 21:08:56 +08:00
skywind3000
b34d22bc21 fixed -i issue in fish shell 2019-02-01 19:24:01 +08:00
skywind3000
e50761a2c4 fixed: typo 2019-02-01 18:26:07 +08:00
skywind3000
6a53ba62b1 more safe to get script name 2019-02-01 17:47:22 +08:00
skywind3000
c88b8213c5 clean and safe random seed initializer 2019-02-01 17:27:23 +08:00
Heyward Fann
9fe0fc67a0 fix: indent format 2019-02-01 13:55:51 +08:00
Heyward Fann
ddadb20521 fix: no more lua_XXXXXX temp files 2019-02-01 13:21:55 +08:00
skywind3000
3fcf11f6d0 1. fixed: in fish shell, path contains spaces is not accepted.
2. supports fish 2.4.0.
2019-01-28 20:41:22 +08:00
skywind3000
ce04313e29 fixed: _ZL_RANDOM 2019-01-28 16:43:10 +08:00
skywind3000
311dd46ece fixed: random number _ZL_RANDOM is empty in fish shell 2019-01-28 16:39:25 +08:00
skywind3000
65087e293b remove unnecessary variables 2019-01-28 16:24:52 +08:00
Daniel Lewan
d971ff8913 fix Fish 2.7.1 compability 2019-01-21 12:33:25 +01:00
Linwei
5dda899b8d Merge pull request #7 from TeddyDD/fish
Fish shell support
2019-01-21 01:49:10 +08:00
Daniel Lewan
6ef3b15700 add Fish shell support
- _zlua cmd and _zlua_precmd
- add installation instruction
- once flag support
- support _ZL_CD variable
- completions
2019-01-20 18:28:49 +01:00
Mario Rodas
5aa17c3328 Don't return failed exit code when $_ZL_ECHO is unbind
Using the "&&" operator returns the exit code of the first failed
command, and when $_ZL_ECHO is unbind always return 1.
2019-01-19 14:16:36 -05:00
skywind3000
650f3a2846 improve last segment detection 2019-01-18 05:08:35 +08:00
skywind3000
10bd804a03 new initializer 2019-01-17 22:45:52 +08:00
Mario Rodas
980a0bf055 Make z.lua executable 2019-01-17 00:16:19 -05:00
skywind3000
2037c3d03a update 2019-01-15 17:04:15 +08:00
skywind3000
7ffebab4fa cd to existent directory if no match find. 2019-01-15 17:03:17 +08:00
skywind3000
504d5906cf update 2019-01-15 16:02:31 +08:00
skywind3000
471758a33b cd to existent directory if no match found. 2019-01-15 15:57:29 +08:00
skywind3000
7d50ab8fd8 cd to existent directory if no match 2019-01-15 15:53:07 +08:00
skywind3000
b042f0edc4 new _ZL_MATCH_MODE 2019-01-14 09:54:18 +08:00
skywind3000
7a837a3796 commit new z.lua 2019-01-14 09:45:18 +08:00
skywind3000
bef20b26ae new _ZL_MATCH_MODE 2019-01-14 09:42:56 +08:00
skywind3000
2159d89a4f new $_ZL_MATCH_NAME and $_ZL_SKIP_PWD 2019-01-13 00:20:59 +08:00
skywind3000
a37292fd42 polish 2018-12-26 21:29:36 +08:00
skywind3000
0fc9b39e57 polish 2018-12-26 21:28:40 +08:00
skywind3000
eaf499ce6e new: -i option to cd with interactive selection 2018-12-26 21:16:35 +08:00
skywind3000
3092d82408 new: interactive mode '-i' 2018-12-26 21:03:30 +08:00