Commit Graph

212 Commits

Author SHA1 Message Date
Andreas Nordal
b6aa6225a4 (#32) Remove docker instructions
Fixes #32
2020-03-21 12:44:25 +01:00
Andreas Nordal
3c03e01ba5 This is version 4.1.2 2020-02-24 00:24:30 +01:00
Andreas Nordal
085938d185 Rust 2018 compat [2/2]: Change all use statements 2020-02-23 21:38:38 +01:00
Andreas Nordal
9976a72b91 Rust 2018 compat [1/2]: Use std is implied 2020-02-23 21:38:38 +01:00
Andreas Nordal
aa987e83b6 Try to make friends with rustfmt [2/2] 2020-02-23 21:35:27 +01:00
Andreas Nordal
50e25bfef9 Try to make friends with rustfmt [1/2] 2020-02-23 21:35:27 +01:00
Andreas Nordal
85ccf5549e Stylistic cleanup [2/2] 2020-02-23 21:35:27 +01:00
Andreas Nordal
84fcb19938 Stylistic cleanup [1/2] 2020-02-23 21:35:27 +01:00
Andreas Nordal
f4d7d3aa00 (#30) Allow unquoted arguments to local et al
Resolves #30.
2020-02-16 23:49:55 +01:00
anordal
9404719d3a (#31) Recognize array member assignment
Fixes #31
2020-02-06 23:33:20 +01:00
anordal
064a612434 Unittest: Make it less hard to debug 2020-02-05 23:03:12 +01:00
Andreas Nordal
cd78ecc3e4 Take clippy advice: Unnecessary match indirection 2019-11-30 22:15:47 +01:00
Andreas Nordal
755ce14634 Rust 1.39: try → ? 2019-11-29 22:29:25 +01:00
Andreas Nordal
3c402440f2 Rust 1.37: Syntax change for match inclusive range 2019-11-28 23:00:00 +01:00
Andreas Nordal
2d44d99756 Rust 1.37: Avoid dyn trait for predicates 2019-11-28 22:59:58 +01:00
Andreas Nordal
7eb0ae7e2e Rust 1.37: Use dyn trait for intentionally dynamic dispatch 2019-11-28 22:59:56 +01:00
Andreas Nordal
13429114e0 Rewrite pwd → $PWD directly, not via $(pwd) 2019-11-10 15:59:35 +01:00
Andreas Nordal
0a457b1aec (#29) README: s/shellgarden/shellharden/ 2019-11-08 19:42:22 +01:00
Andreas Nordal
22db5fca5d (#28) Put Cargo.lock in git 2019-10-27 22:49:52 +01:00
Andreas Nordal
870a9ce511 Code cleanup: Collapse nested enums in oft-used return type 2019-08-31 11:21:15 +02:00
Andreas Nordal
df5ff6534c Readme: Recommend released precompiled binaries over docker img 2019-08-26 23:38:44 +02:00
Andreas Nordal
036091421a Howto: The myth must be dispelled to get it out of the way 2019-08-26 23:38:44 +02:00
Andreas Nordal
f229707fa3 This is version 4.1.1 2019-08-04 15:31:30 +02:00
Andreas Nordal
193a26960d Add todolist 2019-08-04 15:27:20 +02:00
Andreas Nordal
ef5c04dba4 Howto: Conditions: Dispel the external command myth 2019-08-04 15:27:20 +02:00
Andreas Nordal
593493bb53 Howto: Rm stray paragraph 2019-08-04 15:27:20 +02:00
Andreas Nordal
37c149e7e2 Howto: Reword the array motivation 2019-08-04 15:27:20 +02:00
Andreas Nordal
8ff688f8d4 Changelog: Let's mention code polishing too 2019-08-04 15:27:20 +02:00
Andreas Nordal
abffe5fadc Implement more special variables: $$ $! $- 2019-08-04 15:27:20 +02:00
Andreas Nordal
64d3ee7b1e Unittest some more 2019-08-03 20:52:09 +02:00
Andreas Nordal
7bc9a9cd73 commonstrcmd: Reduce scope of error case 2019-08-03 20:52:09 +02:00
Andreas Nordal
88631be68d commonstrcmd: Don't flush $ behind phantomstring's back
…causing phantomstring to retry with horizon_lengthenable=false.
2019-08-03 20:52:09 +02:00
Andreas Nordal
e8be3d2546 phantomstring: Use locally verifiable strategy for unittestability 2019-08-03 20:52:09 +02:00
Andreas Nordal
ff3d22e397 changelog: SitCase 2019-08-03 20:52:09 +02:00
Andreas Nordal
a6a7cdc713 SitCase: Amend 3aaf 2019-07-29 22:17:16 +02:00
Andreas Nordal
d71f64e3d6 [clippy 15/15] Reject inappropriate advice
I'm checking if the RGB bits are zero, not counting trailing zero bits.
It is totally irrelevant that those bits are at the end.
2019-07-28 22:01:33 +02:00
Andreas Nordal
6cbeda78a8 [clippy 14/15] Embrace inclusive ranges (Rustc 1.26) 2019-07-28 22:01:33 +02:00
Andreas Nordal
0b1c3cc501 [clippy 13/15] Same-name field designation is implicit 2019-07-28 22:01:33 +02:00
Andreas Nordal
e3f3a6678e [clippy 12/15] Name the predicate 2019-07-28 22:01:33 +02:00
Andreas Nordal
9be209faa2 [clippy 11/15] Main loop can be a for loop 2019-07-28 22:01:33 +02:00
Andreas Nordal
007b09742c [clippy 10/15] is_some, is_err NIH 2019-07-28 22:01:33 +02:00
Andreas Nordal
6fc711eef8 [clippy 9/15] as u16 → u16::from 2019-07-28 22:01:33 +02:00
Andreas Nordal
31ecf3a9f8 [clippy 8/15] len == 0 → is_empty 2019-07-28 22:01:33 +02:00
Andreas Nordal
9f73104349 [clippy 7/15] Collapse ifs 2019-07-28 22:01:25 +02:00
Andreas Nordal
3c0c169772 [clippy 6/15] Collapse single match → if 2019-07-28 22:01:25 +02:00
Andreas Nordal
c5eff247a9 [clippy 5/15] Some returns do not have to be explicit 2019-07-28 22:01:25 +02:00
Andreas Nordal
ece0565198 [clippy 4/15] Separators in numeric literals FTW
Make the RGB part of color codes stand out.
2019-07-28 22:01:25 +02:00
Andreas Nordal
f06cd04041 [clippy 3/15] Iteration by index is avoidable 2019-07-28 22:01:16 +02:00
Andreas Nordal
cc197a43de [clippy 2/15] Unnecessary closure wrappers in callbacks are avoidable 2019-07-28 21:52:28 +02:00
Andreas Nordal
c83620d0ab [clippy 1/15] Match by ref is avoidable 2019-07-28 21:19:26 +02:00