ion merge requestshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests2019-12-09T15:08:10Zhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1176feat: Set $ION_CMD_DURATION variable after each command2019-12-09T15:08:10ZBuggStreamfeat: Set $ION_CMD_DURATION variable after each command# Description
Set the $ION_CMD_DURATION variable after each command is executed
The variable is equal to the amount of WHOLE seconds spent executing the
previous command.
This variable is currently not set when running the PROMPT func...# Description
Set the $ION_CMD_DURATION variable after each command is executed
The variable is equal to the amount of WHOLE seconds spent executing the
previous command.
This variable is currently not set when running the PROMPT function,
because this would mean that the ION_CMD_DURATION would always refer to
the time spent in the PROMPT function when running in interactive mode.
# Reason for this feature
This feature was needed in order to properly support the cmd-duration of [starship](https://starship.rs/). Besides this it could be a useful feature for other purposes too.
# Testing
Currently I have written no additional tests, since the methods I changed (`on_command` and `command`) don't seem to have any tests that actually test their functionality currently. (Perhaps there are, but I couldn't find them)https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1175Fix word expansion2020-01-11T04:29:03ZdardyfellaFix word expansionFixes https://gitlab.redox-os.org/redox-os/ion/issues/906Fixes https://gitlab.redox-os.org/redox-os/ion/issues/906https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1174Add a default Vi prompt2019-12-03T00:33:51ZMichaĆ SiedlaczekAdd a default Vi promptDisplayis insert/normal mode indicator in Vi key mode. The indicators are read first from `VI_NORMAL` and `VI_INSERT` variables before falling back to the default. To remove the indicator entirely, just set both variables to an empty str...Displayis insert/normal mode indicator in Vi key mode. The indicators are read first from `VI_NORMAL` and `VI_INSERT` variables before falling back to the default. To remove the indicator entirely, just set both variables to an empty string.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1173Fix help text of test builtin2019-12-28T03:00:13ZBafDyceFix help text of test builtinhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1171Fix broken link in functions page in book2019-11-22T21:50:39ZBafDyceFix broken link in functions page in bookhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1170fix(doc): replace multiline comments with multiline strings2019-10-24T00:39:09ZAdminXVIIfix(doc): replace multiline comments with multiline stringshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1169chore(deps): Update the dependencies to allow compilation on nightly2019-10-26T20:32:03ZAdminXVIIchore(deps): Update the dependencies to allow compilation on nightlyhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1168fix(CI): update the MSRV in the CI2019-10-20T03:00:32ZAdminXVIIfix(CI): update the MSRV in the CIhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1167Use redox_users to provide home directory on Redox2019-10-20T03:41:38ZJeremy SollerUse redox_users to provide home directory on RedoxIn the future, we should try to add Redox support to usersIn the future, we should try to add Redox support to usersAdminXVIIAdminXVIIhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1166Update nix dependency to git revision that exists2019-10-05T12:51:19ZWesley MooreUpdate nix dependency to git revision that existsPrior to this change attempting to build a fresh clone (on Linux) resulted in this error:
```
Updating git repository `https://github.com/AdminXVII/nix`
error: failed to load source for a dependency on `nix`
Caused by:
Unable to ...Prior to this change attempting to build a fresh clone (on Linux) resulted in this error:
```
Updating git repository `https://github.com/AdminXVII/nix`
error: failed to load source for a dependency on `nix`
Caused by:
Unable to update https://github.com/AdminXVII/nix?branch=add-redox-support#65a419c8
Caused by:
revspec '65a419c85be86b00ab9b694f81eeb43116620f2b' not found; class=Reference (4); code=NotFound (-3)
```https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1165chore(*): update dependencies and switch to rust 1.36.02019-09-19T16:04:58ZAdminXVIIchore(*): update dependencies and switch to rust 1.36.0https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1164feat(binary size): Disable unicode support by default + update deps2019-09-05T00:46:31ZAdminXVIIfeat(binary size): Disable unicode support by default + update deps- Disable the regex's unicode feature by default
- Add a feature to Ion to enable it again
- Update the dependencies
**BREAKING**: Perl-style character class are disabled (\w _et al._) and
there is no longer unicode support by default.- Disable the regex's unicode feature by default
- Add a feature to Ion to enable it again
- Update the dependencies
**BREAKING**: Perl-style character class are disabled (\w _et al._) and
there is no longer unicode support by default.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1163update dependencies, remove unused ones2019-08-31T17:46:20ZJakob Hellermannupdate dependencies, remove unused onesI read a post about [cargo-udeps](https://crates.io/crates/cargo-udeps) so tried it on ion and thought *why not update the other dependencies while I'm at it*.
I haven't updated structopt to 0.3 yet, because that would bump the MSRV to ...I read a post about [cargo-udeps](https://crates.io/crates/cargo-udeps) so tried it on ion and thought *why not update the other dependencies while I'm at it*.
I haven't updated structopt to 0.3 yet, because that would bump the MSRV to 1.36, which is quite high.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1162chore(CONTRIBUTING): Add section in contributing to state MR conventions2019-09-04T15:19:15ZAdminXVIIchore(CONTRIBUTING): Add section in contributing to state MR conventions- Switch to squashed, conventional-style commits for MRs
- Specify preference for rebase over merges
- Link to a resource explaining a recommended git flow- Switch to squashed, conventional-style commits for MRs
- Specify preference for rebase over merges
- Link to a resource explaining a recommended git flowhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1161README: make link to the manual more prominent.2019-08-26T17:29:14ZngirardREADME: make link to the manual more prominent.ngirardngirardhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1160[fix #909] split pipe2 into pipe and fcntl on macOS and iOS2019-08-23T15:27:53ZJakob Hellermann[fix #909] split pipe2 into pipe and fcntl on macOS and iOSsee #909see #909https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1159feat(manual): Make a link-check before merging2019-08-19T13:36:09ZAdminXVIIfeat(manual): Make a link-check before merginghttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1158fix(CI): only output html for the book2019-08-19T13:29:52ZAdminXVIIfix(CI): only output html for the bookhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1156fix(CI): install openssl and build utils2019-08-17T23:33:41ZAdminXVIIfix(CI): install openssl and build utilshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1155fix(string methods): Remove methods than expand to 0/12019-08-19T16:16:39ZAdminXVIIfix(string methods): Remove methods than expand to 0/1Methods that are boolean are tightly integrated with tests.
The builtins should be prefered in almost all cases.
Fix #902
BREAKING CHANGES: $ends_with, $contains and $starts_with no longer workMethods that are boolean are tightly integrated with tests.
The builtins should be prefered in almost all cases.
Fix #902
BREAKING CHANGES: $ends_with, $contains and $starts_with no longer work