Jaromil
d8e9350523
remove -regex-match for =~ as zsh ditched the former
...
in a comment the alternate formula to do the same spawning grep
2017-11-29 20:57:01 +01:00
Jaromil
5c978ec28a
small improvements in messaging of network device detection
2017-09-03 12:41:40 +02:00
Jaromil
f23216094a
stop intercepting INT signals (ctrl-C)
...
this signal hook provoked several problems in interactive applications
as the devuan -sdk where it may be desirable and almost automatic
behavior to stop an operation with ctrl-c. intercepting this signal in
endgame then leads to frustration as all variables and current
configurations are forgotten.
it must be still assessed carefully the impact of this change in all
applications and eventually reverted to have an "interactive" mode
where zuper avoids interception.
2017-09-03 12:39:38 +02:00
Jaromil
40e808ec03
small corrections to error messages in option.parse
2017-05-31 06:42:48 +02:00
Jaromil
d59b4d64cb
improved option parser with __empty and __unknown
2017-02-27 15:52:04 +01:00
Jaromil
7e70209e21
fix to return codes of option.parse failures
2017-02-27 15:41:30 +01:00
Jaromil
d49b98885d
fix error overwriting $i when printing messages
2017-02-05 11:02:36 +01:00
Jaromil
c31c68556a
changed zdump to avoid printing empty vars/arrs/maps
2017-02-05 09:54:54 +01:00
Jaromil
a0dc5b4350
fix to network device detection
2016-12-30 17:36:16 +01:00
Jaromil
de9b0f6305
removed 'seq' bashism from messaging functions
...
fix after ZSh 5.3
2016-12-27 13:14:50 +01:00
Jaromil
f2785eca10
added small function to compare semantic versions
...
uses sort and head as external deps
2016-12-26 12:11:55 +01:00
Jaromil
4fed4af700
bump version and add simple makefile
2016-09-07 14:09:39 +02:00
Jaromil
b2da062138
typo fix for last commit
2016-06-15 13:39:39 +02:00
Jaromil
716dc32389
config.section precise matching
2016-06-15 13:04:53 +02:00
Jaromil
a9b9d76b0d
sub/command optarg parser refurbished from Tomb
2016-06-14 21:24:23 +02:00
D.J.R
f0417a1c03
Merge pull request #2 from KatolaZ/master
...
made zuper idempotent (you can "source zuper" several times)
2016-06-13 23:39:41 +02:00
KatolaZ
ad957af625
made zuper idempotent (you can "source zuper" several times without errors)
2016-06-13 20:00:26 +01:00
D.J.R
36c81fbbe6
Merge pull request #1 from KatolaZ/master
...
added ztmpd to create temporary directories automatically cleaned up
2016-06-13 16:02:35 +02:00
KatolaZ
41e1de2b30
added ztmpd to create temporary directories automatically cleaned up
...
at endgame()
2016-06-13 14:59:23 +01:00
Jaromil
175a554e73
paren leftover from option removal
2016-06-08 12:55:39 +02:00
Jaromil
5464a0f9d5
refactoring
...
removes optional switches
moved some helpers. in string.
completed more documentation
2016-06-08 12:33:02 +02:00
Jaromil
b7a0dca0ec
refurbish network and rest api from dowse development
2016-06-08 12:09:24 +02:00
Jaromil
9df91767f8
folding adjusted for use with origami.el
2016-02-11 13:06:54 +01:00
Jaromil
c3adf9d355
fixes to restful get/set and execution tracing
2015-11-22 12:57:40 +01:00
Jaromil
fca82a9e74
helper for urldecode and encode, some fixes
2015-09-23 15:42:05 +02:00
Jaromil
c66c7b3be3
fix scoping of local var in strtok
2015-08-24 17:27:01 +02:00
Jaromil
c8c521309e
improved error reporting and debug tracing
2015-06-05 08:26:54 +02:00
Jaromil
44f0a748ad
minimalist paths for restful put/get
2015-06-04 14:53:40 +02:00
Jaromil
1e19f4bd59
better restful debug
2015-06-04 14:34:27 +02:00
Jaromil
e70e31f5b6
fixes to restful (simplier argument scheme)
2015-06-04 13:09:16 +02:00
Jaromil
c865ff0deb
strtok tokenizer
2015-06-04 12:38:20 +02:00
Jaromil
0690c9881c
global maps, generic restful client (default mode is still consul), restful fixes
2015-06-04 11:43:07 +02:00
Jaromil
41d24810d3
global maps, logfile and misc cleanup
2015-04-08 14:37:17 +02:00
Jaromil
fd6bd41585
config section parser
2015-04-03 16:36:36 +02:00
Jaromil
704f6fdd6f
more string helpers, uppercased some flags and wrapped exit-on-error via throw/catch
2015-03-23 11:25:16 +01:00
Jaromil
3d0ff5d069
simplified, endgame() now implicitly called by zshexit at end of execution
2015-03-22 11:08:45 +01:00
Jaromil
c59ed6b7bd
complete documentation about tempfile handling
2015-03-22 10:35:09 +01:00
Jaromil
cb7517e678
fixes to tmpfile scoping
2015-03-22 10:30:24 +01:00
Jaromil
4b542abc04
better docs
2015-03-19 13:26:21 +01:00
Jaromil
5da7c7bb47
first refurbishing of Zuper 0.1
2015-03-19 12:41:29 +01:00