Commit graph

749 commits

Author SHA1 Message Date
Chris Donnelly da83ecee87 fix(git): additional mocks required
The mock environment was panicking because the test for `sequencer/todo`
checks the full path exists rather than checking for sequencer/ first.
The additional mock for the file covers this.

I am also reorganizing the mocks so they are sorted by type/method.
2021-07-30 16:04:50 +02:00
Chris Donnelly 27654dbd56 fix(git): tests covering revert/sequencer 2021-07-30 16:04:50 +02:00
Chris Donnelly 3dd512f2c2 theme: suppress revert_icon in half-life theme
Since this theme suppresses all other icons, it makes sense to also suppress revert_icon.
2021-07-30 16:04:50 +02:00
Chris Donnelly 6dbaa52481 chore: add revert_icon to schema 2021-07-30 16:04:50 +02:00
Chris Donnelly 5967371162 docs(git): document new revert_icon 2021-07-30 16:04:50 +02:00
Chris Donnelly c7b78c3de3 fix(git): support in-progress cherry-pick/revert
When a cherry-pick is in progress, .git/CHERRY_PICK_HEAD doesn't exist,
so read .git/sequencer/todo instead.

The canonical git prompt in git/git/contrib has this in the "sequencer" section,
which handles cherry-pick operations.

This includes support for "git revert", so I am also adding that.

I chose the fa-undo icon for "revert".

@see https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
2021-07-30 16:04:50 +02:00
allcontributors[bot] 7bf528ef11 docs: update .all-contributorsrc [skip ci] 2021-07-25 08:19:30 +02:00
allcontributors[bot] 2aecf692cc docs: update docs/docs/contributors.md [skip ci] 2021-07-25 08:19:30 +02:00
allcontributors[bot] d46641283c docs: update .all-contributorsrc [skip ci] 2021-07-24 20:49:45 +02:00
allcontributors[bot] acaf408485 docs: update docs/docs/contributors.md [skip ci] 2021-07-24 20:49:45 +02:00
Jan De Dobbeleer 40238b8226 fix: adjust mapped_locations_enabled for hardcoded only
resolves #854
2021-07-24 19:55:08 +02:00
Jan De Dobbeleer 0813ef5af6 docs: clarify WSL and Windows user home
closes #863
2021-07-24 19:55:08 +02:00
Justin Grote 3d493b214e docs: add note about default prefix/postfix settings
closes #859
2021-07-24 19:55:08 +02:00
Justin Grote 5ed452eae5 fix: handle YAML/TOML key value entries 2021-07-18 19:01:11 +02:00
Jan De Dobbeleer 41a1085106
theme: introduce patriksvensson 2021-07-15 17:05:30 +02:00
Jan De Dobbeleer 1f4d05415c feat(path): letter full path
resolves #851
2021-07-13 20:18:03 +02:00
Jan De Dobbeleer 07b9b82f9f fix(pwsh): set lastCommandSuccess first
resolves #849
2021-07-12 07:39:15 +02:00
Jan De Dobbeleer 2aa00da41b fix(windows): try HOME by default for user home 2021-07-10 15:00:23 +02:00
Jan De Dobbeleer 9576e8212e fix(transient): handle multiline prompts better in powershell
relates to #840
2021-07-10 15:00:23 +02:00
Jan De Dobbeleer 46b8cea72a fix: write post- and prefix separate
resolves #843
2021-07-10 13:56:28 +02:00
allcontributors[bot] e3723365cb docs: update .all-contributorsrc [skip ci] 2021-07-06 19:18:48 +02:00
allcontributors[bot] c250b379ee docs: update docs/docs/contributors.md [skip ci] 2021-07-06 19:18:48 +02:00
Reza Gharibi a06a51a383 docs: replace scoop with winget in theme location 2021-07-06 19:16:28 +02:00
allcontributors[bot] 69109c8e6e docs: update .all-contributorsrc [skip ci] 2021-07-04 22:57:21 +02:00
allcontributors[bot] 35b90fab50 docs: update docs/docs/contributors.md [skip ci] 2021-07-04 22:57:21 +02:00
Tobias Hölzer c358d4fc4c
feat: rust segment 2021-07-04 22:53:10 +02:00
Tobias Hölzer aeacba7bf0 docs: correct 'dart version' (was 'julia version') 2021-07-04 21:06:48 +02:00
Jan De Dobbeleer 75253034b9 feat: enable transient prompt in zsh 2021-07-04 07:39:48 +02:00
allcontributors[bot] 7e60d7c002 docs: update .all-contributorsrc [skip ci] 2021-07-03 14:08:44 +02:00
allcontributors[bot] d315b7db4a docs: update docs/docs/contributors.md [skip ci] 2021-07-03 14:08:44 +02:00
Florian Heberl 45206f3347 docs: update windows terminal settings keybinding 2021-07-03 14:06:17 +02:00
Jan De Dobbeleer 7f5dd5a0c4
docs: add link to copyright 2021-07-01 21:05:51 +02:00
Jan De Dobbeleer f3e083a94c chore: mark winget as done 2021-07-01 20:27:10 +02:00
Jan De Dobbeleer 304bb45c0c docs: add @wopian as a contributor 2021-07-01 20:27:10 +02:00
Jan De Dobbeleer 8cee0f51de docs: add contributors 2021-07-01 20:27:10 +02:00
Daksh P. Jain ce913e6929
docs: minor corrections 2021-07-01 19:35:09 +02:00
Jan De Dobbeleer 8cf85a370d fix(transient): count newlines and not ;
relates to #807
2021-06-26 20:22:05 +02:00
Jan De Dobbeleer f19460a0c5 fix(transient): support multiline prompts
relates to #807
2021-06-25 20:14:32 +02:00
Jan De Dobbeleer bac68f996d fix(winget): use x64 2021-06-25 20:14:32 +02:00
Jan De Dobbeleer db1f6bb751 fix(dotnet): correct exit code for different OS architectures
closes #819
2021-06-23 22:40:00 +02:00
Jan De Dobbeleer 3fd70ce716 refactor: remove vertical_offset for transient prompt
relates to #807
2021-06-23 22:40:00 +02:00
Jan De Dobbeleer fb83354186 fix: int comes in as float from json
resolves #755
2021-06-23 22:40:00 +02:00
Jan De Dobbeleer 1b0ceaff70 chore: use latest wingetcreate self-contained binary 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer 926f0dbf43 chore: remove GitHub pages 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer 7c72e76aff feat(pwsh): transient prompt 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer 7bb0c9ae0b refactor(tooltips): better invocation for pwsh 2021-06-22 08:42:35 +02:00
James Harris e16e6e34b7 feat(theme): wopian theme added 2021-06-21 19:02:34 +02:00
Chris Donnelly 2ab35b0eec feat(dotnet): correct exit code on Windows
dotnet on windows returns a 32-bit exit code.

https://github.com/dotnet/runtime/blob/main/docs/design/features/host-error-codes.md
2021-06-18 20:34:24 +02:00
Jan De Dobbeleer 90b4996e55 chore: validate all supported goarchs 2021-06-18 20:34:24 +02:00
Jan De Dobbeleer 97a9916be0 chore(tooltips): update json schema 2021-06-13 19:46:02 +02:00