Qi Xiao
7370a344a2
README: Use put
instead of echo in le:prompt.
2016-02-23 13:35:07 +01:00
Qi Xiao
5c9fa29749
Document tilde-abbr as well.
2016-02-23 13:34:16 +01:00
Qi Xiao
f5fa5f9444
Document le:{,r}prompt.
2016-02-23 13:33:38 +01:00
Qi Xiao
6b625c0e8d
New builtin "tilde-abbr".
2016-02-23 13:29:10 +01:00
Qi Xiao
67e4b5df11
Prompt can now be customized by modifying le:{,r}prompt.
...
This fixes #103 .
2016-02-23 13:24:28 +01:00
Qi Xiao
9d7e5de667
edit: Add a Prompt interface, going to support customizable prompt.
2016-02-23 13:08:41 +01:00
Qi Xiao
6a80c3dcef
Only use stub when it is alive.
2016-02-23 12:33:32 +01:00
Qi Xiao
c67ad408ee
Fix util.RootStar.
2016-02-23 03:02:23 +01:00
Qi Xiao
3b5510f80e
More README.
2016-02-23 03:01:24 +01:00
Qi Xiao
e90c3fc984
Nav mode hides dotfiles by default. ^H triggers.
...
This resolves #114 .
2016-02-23 03:00:19 +01:00
Qi Xiao
cea7d7675c
Implement an "all" modifier for wildcards; fix tests.
2016-02-23 02:45:35 +01:00
Qi Xiao
ce96ee1489
glob: Wildcards after / no longer match dot.
2016-02-23 02:34:20 +01:00
Qi Xiao
348306ceb4
Revert accidentally commited code when Fixing typo in README.
...
This reverts commit 98f02a01b5
.
2016-02-23 01:09:48 +01:00
Qi Xiao
98f02a01b5
Fix typo in README.
2016-02-23 01:07:28 +01:00
Qi Xiao
9c5f6ac9ab
Update README.md
2016-02-23 01:05:21 +01:00
Qi Xiao
85ad4d164f
Improve README.
2016-02-23 00:53:40 +01:00
Qi Xiao
68c3b47094
Reorganize README; switch to gz for binaries.
2016-02-23 00:44:03 +01:00
Qi Xiao
3a237c3a4f
Temporarily fix the builtin namespace.
2016-02-23 00:10:00 +01:00
Qi Xiao
cffc728530
Don't search whenever external command contains /.
...
This fixes #150 .
2016-02-22 23:46:18 +01:00
Qi Xiao
d410a3fd40
Update README.
2016-02-22 23:28:28 +01:00
Qi Xiao
f30633a4a8
Treachery of images.
2016-02-22 23:11:46 +01:00
Qi Xiao
619f274f61
Put writer log under a flag.
2016-02-22 23:10:25 +01:00
Qi Xiao
60ea1ffb35
Add logging; don't relay signal from stub after seeing EOF.
2016-02-22 23:06:00 +01:00
Qi Xiao
e6c44bdbdd
Terminate the stub before -exec.
2016-02-22 23:00:33 +01:00
Qi Xiao
6fbadd6f31
Add a builtin namespace. Now this is really Pythonic.
...
The "acme" builtin module finally works.
2016-02-22 22:56:23 +01:00
Qi Xiao
657448acf3
Update working directory of elvish-stub.
2016-02-22 18:42:25 +01:00
Qi Xiao
158b4b82a5
eval: Log instead of write signals.
2016-02-22 18:30:21 +01:00
Qi Xiao
53745d4b9f
Commit a missing file.
2016-02-22 18:24:24 +01:00
Qi Xiao
0cac402263
eval: Teach (*muster).error correct English
2016-02-22 18:23:12 +01:00
Qi Xiao
0d3d44f097
eval: Fix (*muster).error
2016-02-22 18:20:43 +01:00
Qi Xiao
940dc16bb1
Try to respond to signals sent to elvish-stub.
...
Doesn't always work, but the behavior is consistent in a session (if it works,
then it works in this session; vice versa). Likely some race in startup code.
2016-02-22 17:40:17 +01:00
Qi Xiao
4d567f406f
Fix ~/* in a pretty hacky way.
...
This fixes #134 .
2016-02-22 16:05:14 +01:00
Qi Xiao
54e6b83fcd
Clean up namespace resolution code.
2016-02-22 15:35:32 +01:00
Qi Xiao
6aa13a9fb8
Fix name resolution.
2016-02-22 15:32:49 +01:00
Qi Xiao
c3455d9a1c
Add "e" ns as yet another alias of "external".
2016-02-22 15:26:16 +01:00
Qi Xiao
a3ae232585
Fix resolution of unqualified names.
2016-02-22 15:25:48 +01:00
Qi Xiao
f31d77615c
Synchronize logSignals and handleHupAndQuit.
2016-02-22 15:24:38 +01:00
Qi Xiao
01c5977a8f
Use "external:" namespace to make external commands.
...
Namespace code has also been cleaned up a bit.
2016-02-22 15:22:00 +01:00
Qi Xiao
22be6e24df
Add a phony target "stub".
2016-02-22 14:49:21 +01:00
Qi Xiao
70f9044bfb
Check $GOPATH when building stub.
2016-02-22 14:47:20 +01:00
Qi Xiao
f9cdd8db20
Fix make -j2
.
...
When comping the stub, $(GOPATH)/bin is assumed to exist. This breaks
`make -j2`, where `get` and `$(STUB)` may be built in parallel.
2016-02-22 14:43:12 +01:00
Qi Xiao
f14106f5eb
Use a cooldown in face of editor error.
2016-02-22 14:40:17 +01:00
Qi Xiao
8bdf6751dd
Use script mode when stdin is not tty.
2016-02-22 14:35:00 +01:00
Qi Xiao
5786dc7ffb
Handle HUP; restart editor in 1s after consecutive error
2016-02-22 14:31:03 +01:00
Qi Xiao
92d34ec78d
edit: New "smart-enter" builtin to insert newline when input is incomplete.
2016-02-22 13:46:35 +01:00
Qi Xiao
8dec0263c6
Allow newlines in more spaces.
2016-02-22 13:44:56 +01:00
Qi Xiao
f102a46833
Parse newlines after pipe and inside lists as oridnary spaces.
2016-02-22 13:26:22 +01:00
Qi Xiao
9793da932c
Add a "base" builtin.
2016-02-22 02:28:28 +01:00
Qi Xiao
5bbb8bef13
Fix stuttering of cnf error.
2016-02-22 00:06:26 +01:00
Qi Xiao
519760107f
eval: Fix go:generate line.
2016-02-22 00:06:25 +01:00