Commit Graph

63 Commits

Author SHA1 Message Date
K. Lange 02d5f77f10 more correct pgrp juggling 2018-10-28 18:23:11 +09:00
K. Lange ad9fc6caa4 esh: better handling for suspended pipelines 2018-10-27 12:12:17 +09:00
K. Lange 51df8004dd job control: kill/cont process groups 2018-10-26 23:19:46 +09:00
K. Lange 6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange 2e87826eb2 esh: add read command 2018-10-20 18:14:07 +09:00
K. Lange 90b102754f esh: Support for $$ 2018-10-17 15:40:11 +09:00
K. Lange 1aea7033db esh: collect PATH contents after source eshrc 2018-10-12 18:18:48 +09:00
K. Lange 781d4cc445 sh: fix skipped command completions when they expand the list 2018-10-10 14:05:26 +09:00
K. Lange b19db6bb0c esh: handle bad glob case 2018-10-05 23:31:07 +09:00
K. Lange e943b521ee sh: allow glob after directory 2018-10-05 20:29:56 +09:00
K. Lange 75a8a1751e sh: Allow blank strings as empty arguments 2018-10-05 20:00:00 +09:00
K. Lange 06ff00fd41 Fix some return value and signal handling related to pipes 2018-10-02 22:36:57 +09:00
K. Lange 04c9d44880 Add command alternatives to esh 2018-10-01 21:44:28 +09:00
K. Lange 7a20e11aea proper waitpid status values 2018-09-28 13:00:51 +09:00
K. Lange 5aeb26644c Tab completion for un-dollared variables in unset 2018-09-23 12:09:39 +09:00
K. Lange 4cde60c50e add unsetenv 2018-09-23 12:06:25 +09:00
K. Lange d929a932a2 esh should reset when drawing tab completions 2018-09-17 13:19:58 +09:00
K. Lange d1dcc03760 More flexible shell completion list size 2018-09-17 12:47:20 +09:00
K. Lange d052471948 Catch errors writing to > files 2018-09-17 09:29:47 +09:00
K. Lange 21ff48d6aa Don't draw prompts in sh when using rline_exp 2018-09-17 06:56:52 +09:00
K. Lange 85db6525a8 hacked up support for python syntax highlighting in rline_exp 2018-09-15 17:52:01 +09:00
K. Lange 405834ec89 Don't ignore files starting with . in tab complete if we asked for them 2018-09-14 23:01:55 +09:00
K. Lange 6835752c8b Enable rline_exp in sh by default 2018-09-13 14:43:56 +09:00
K. Lange b25aa946e5 Improvements to experimental line editor 2018-09-13 12:54:00 +09:00
K. Lange b7c642c273 Experimental rline replacement with syntax highlighting 2018-09-12 22:50:22 +09:00
K. Lange 8b69bba2dd Update outdated heading comment in shell 2018-08-17 21:56:50 +09:00
K. Lange 896b5ba877 Fix missing free in sh file completion 2018-08-17 19:52:18 +09:00
K. Lange f36d45b21c Adapt sh 'help' command to built-in command lengths 2018-08-15 23:00:12 +09:00
K. Lange 6ac1370025 Catch some bad shell syntax 2018-08-15 13:09:12 +09:00
K. Lange 1d28a49dd7 Remove calls to _XLOG in shell 2018-08-14 14:03:47 +09:00
K. Lange 6430ce85b3 Handle spaces in variables when not quoted 2018-08-14 11:38:33 +09:00
K. Lange f7e6ceebf2 add not command to shell to invert return codes 2018-08-14 08:11:19 +09:00
K. Lange 4f36cadff4 New sh features
- `if` should call clauses in correct context if they are builtins
- add equals? and exec
2018-08-12 16:35:07 +09:00
K. Lange 74cf97ebc2 eshrc 2018-08-12 10:52:00 +09:00
K. Lange a4f90bfe34 Configurable prompts 2018-08-12 10:42:01 +09:00
K. Lange caee0644a5 Fix some backtick stuff in shell 2018-08-08 15:53:34 +09:00
K. Lange 9b4a1174b6 More shoddy shell stuff 2018-08-08 10:14:59 +09:00
K. Lange b677716900 Shoddy ; support 2018-08-07 16:56:25 +09:00
K. Lange 517335df44 Mediocre conditionals in shell 2018-08-07 14:27:49 +09:00
K. Lange e00ab8983c replace term-set completions with toggle-abs-mouse (since term-set is gone) 2018-08-04 09:43:26 +09:00
K. Lange 2b8ad34533 Complete variable names in shell (only at start of argument) 2018-08-01 09:35:46 +09:00
K. Lange 45e4aed8f1 More sh tab complete stuff 2018-07-20 17:08:47 +09:00
K. Lange cb6ac38004 special case sudo and gsudo in sh tab completion 2018-07-20 16:48:05 +09:00
K. Lange c75b586829 Fix some error handling 2018-07-18 09:43:39 +09:00
K. Lange 60accf8088 Should only force 0-9 and ? as single-character variable names, not end of variable name 2018-07-17 21:33:05 +09:00
K. Lange 3cc0faab77 Add special argument variables 2018-07-17 20:14:53 +09:00
K. Lange 897fa4bef8 Better last_ret handling 2018-07-17 20:01:24 +09:00
K. Lange fb061ce17e Add $? special variable 2018-07-17 19:54:12 +09:00
K. Lange eb680cd947 Allow sh to execute files 2018-07-17 19:44:43 +09:00
K. Lange a161dbc998 Handle | and > without spaces 2018-07-17 17:22:25 +09:00