Alois Mahdal
97ae354df1
Switch FILE an TEMPLATE arguments
With readline's C-., it's convenient to have the name of the new target
be always the last argument.
New syntax follows this convention and still makes the TEMPLATE optional
by using the plus sign as template name decorator.
The effect of the plus-sign use means that having some template names
already starting with plus would bring silly syntax with double-plus
sign. Having two types of templates is not really all that meaningful
so let's solve that by merely removing `+` from the names and using it
merely in its decorator sense.
6 年之前
Alois Mahdal
66e29e7c2f
Fix typo
6 年之前
Alois Mahdal
12b4849ff9
Use newer mkusage syntax and usage() convention
6 年之前
Alois Mahdal
ede1e3e97a
Use arguments to enable debug and verbosity in Shellfu template
6 年之前
Alois Mahdal
cfdc288ff7
Mute unavoidable but safe ShellCheck SC1090
6 年之前
Alois Mahdal
09984ae9f1
Update description in README.md
7 年之前
Alois Mahdal
5c47c5a944
Add overduer, TaskWarrior re-scheduling wrapper
7 年之前
Alois Mahdal
ac1c901c7e
Update scripts for Shellfu v0.10+
7 年之前
Alois Mahdal
409a21c935
Replace mkexec with mkx (simpler, better...)
7 年之前
Alois Mahdal
350dec8086
Add czkrates, a shellfu script to get CZK rates
7 年之前
Alois Mahdal
e629c0115d
Update e-mail address
7 年之前
Alois Mahdal
a8d1d5c195
Mute well-known ShellCheck warning
7 年之前
Alois Mahdal
32ffb47657
Add function docstrings
7 年之前
Alois Mahdal
bb42c44988
Add variable docstrings
7 年之前
Alois Mahdal
79947d9b36
Separate declaration from initialization
7 年之前
Alois Mahdal
35e104843e
Add proper quoting
7 年之前
Alois Mahdal
257097e88c
Use read builtin safely
7 年之前
Alois Mahdal
463f585235
Update for shellfu v0.9.*
8 年之前
Alois Mahdal
5affd21615
Fix typo
8 年之前
Alois Mahdal
6c1adc7cd8
Add docstring to local variables
8 年之前
Alois Mahdal
ff95c9f9f8
Add shellfu template
8 年之前
Alois Mahdal
6c42fdb713
Add commas to ease extending homogenous
8 年之前
Alois Mahdal
9d0f4144f5
Add SSL fingerprint check utility
8 年之前
Alois Mahdal
d7af9a2566
Fix parameter matching
The original regexes would match inside other arguments;
Eg.
mkexec foo-foo
would match as if -f was presented.
8 年之前
Alois Mahdal
f52c1baa2a
Parametrize maximum line numbers and line length
9 年之前
Alois Mahdal
436009dc71
Move file reading outside limit function
Makes it easier to see explicitly how date is obtained.
As a bous, it will be also easier to parametrize limits.
9 年之前
Alois Mahdal
640cf6b2a9
Add support for reading from file
Hard-coded limits are 3 lines and 80 chars per line. Empty lines are
ignored (not counted to the limit).
File can be '-' for standard input
9 年之前
Alois Mahdal
1ad2a096a2
Add IRC notificationn helper
9 年之前
Alois Mahdal
d7f92eb618
Add expect filetype
9 年之前
Alois Mahdal
77f26611a7
Fortify against space in ffoo install path
like if someone's ever going to do it, right...?
("C:\Program Files\fastfoo" ... ugh...)
9 年之前
Alois Mahdal
086412c6a3
Add Fastfoo template for bash
9 年之前
Alois Mahdal
ef0e500332
Fortify against missing purpose
(Humanity could use that)
10 年之前
Alois Mahdal
1cf703e750
Avoid useless warning if purpose was not provided
10 年之前
Alois Mahdal
18141bd1ab
Fix double declaration
10 年之前
Alois Mahdal
3cf0628080
Update usage line
10 年之前
Alois Mahdal
c477c6a043
Change default munber of translations to 20
10 年之前
Alois Mahdal
7c4460713c
Update and clean up docs
More truth, less BS.
10 年之前
Alois Mahdal
6f2b660b7f
Do not edit the file by default
This also means -E is useless
10 年之前
Alois Mahdal
f28c1ebb31
Fix whitespace error in template
10 年之前
Alois Mahdal
f8cb2b28af
Implement purpose-based templates
10 年之前
Alois Mahdal
93bf2c3b4e
Do not launch editor by default
10 年之前
Alois Mahdal
3bb78fb7ea
Better way to parse args
10 年之前
Alois Mahdal
19c9f65823
Create shell script by default
10 年之前
Alois Mahdal
0b7a973dbe
List tests by Nose for Nose
10 年之前
Alois Mahdal
0c26d2e015
Use conservative paths to shell bins
10 年之前
Alois Mahdal
15927055a1
Naively quote original vim arguments
We assume no std* / fd* hocus-pocus
11 年之前
Alois Mahdal
0fefbd0721
Revert stamps even if vim failed
11 年之前
Alois Mahdal
bad26a7836
Changed to filter-like (stdin/stdout) behavior
11 年之前
Alois Mahdal
9a425471a1
Typo in examples
11 年之前
Alois Mahdal
cf707b10d3
Added doc for pfile
11 年之前