Commit graph

3479 commits

Author SHA1 Message Date
Hans Kokx 2e91eabc55
docs: typo in contributing-git.mdx
grapgh => graph
2021-08-22 19:46:21 +02:00
Sebastian Mineur 2b53796c1a
feat(path): add 'max_depth' option for 'agnoster_short' 2021-08-20 15:06:37 +00:00
Laurent Nullens 2470abcc86
docs: owm units enum added to schema.json
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-20 15:00:35 +00:00
Laurent Nullens 123c52d8e2 docs(owm): http_timeout/units fix 2021-08-20 16:57:45 +02:00
lnu e618163da3 feat(owm): support all units + hyperlink + http timeout
new http_timeout param for segments executing http request
doc updated
json schema updated(missing data for owm + timeout)
hyperlink replacement regex updated to support http/https, fix an inssue
when a segment with hyperlink was on the right prompt(pwsh)
2021-08-19 09:04:52 +02:00
allcontributors[bot] 9e713a52a6 docs: update .all-contributorsrc [skip ci] 2021-08-17 20:47:03 +02:00
allcontributors[bot] 386fa65172 docs: update docs/docs/contributors.md [skip ci] 2021-08-17 20:47:03 +02:00
lnu 5500530d9f chore: upgrade sprig to v3
#900
2021-08-16 08:33:17 +02:00
Nico Glas 4f08d660b9
feat(segment): open weather map 2021-08-15 19:11:02 +00:00
Laurent Nullens 3f02ad4eb3
fix: avoid variable expansion when using postfix in zsh
% must be escaped otherwise zsh try to apply variable expansion

Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-15 09:45:44 +02:00
Inskipp 572149b176
theme: add plague 2021-08-13 07:31:44 +02:00
Jan De Dobbeleer 4056d4a417 chore: use form templates 2021-08-10 06:27:50 +02:00
Jan De Dobbeleer 053d26f421 chore: rework PR template 2021-08-10 06:27:50 +02:00
Jan De Dobbeleer dff3986258 refactor(git): fetch branch name from HEAD file 2021-08-10 06:27:50 +02:00
Jan De Dobbeleer f6c79050d0 fix: run commands faster 2021-08-10 06:27:50 +02:00
Jan De Dobbeleer 9e8a7182b6 refactor: better log output 2021-08-10 06:27:50 +02:00
Jan De Dobbeleer 995bd5c720 chore(go): update dependencies 2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 8d63238bce chore(docs): update dependencies 2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 9bd21c6573 feat(text): add template support
resolves #884
2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 9f4f9d30db fix(init): quote path for spaces
resolves #879
2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 68f576692b feat(path): use second letter for .folder
resolves #886
2021-08-10 05:58:35 +02:00
Evgeny Morozov 84183b7506
fix(aws): override default region if AWS_REGION is set
Co-authored-by: Evgenii Morozov <emorozov@goodgamestudios.com>
2021-08-04 20:46:59 +02:00
Laurent Nullens f83fb24087 chore: add branch_max_length to schema 2021-08-03 08:20:48 +02:00
allcontributors[bot] 0c4492971c docs: update .all-contributorsrc [skip ci] 2021-08-02 20:09:00 +02:00
allcontributors[bot] 05e7d1df6e docs: update docs/docs/contributors.md [skip ci] 2021-08-02 20:09:00 +02:00
Timothy Wittig 12dfdb3708
chore: add no_commits_icon to schema
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-02 20:07:37 +02:00
lnu 94e3d9e0fd perf(git): read origin url from config
new properties added: isWorktree and gitRootFolder
2021-08-02 20:06:15 +02:00
Jan De Dobbeleer 073f18f53a feat(debug): trace system calls to log file 2021-08-01 15:34:07 +02:00
Jan De Dobbeleer c4db62c644 feat(language): allow enabling or disabling HOME folder
closes #874
2021-07-31 18:02:05 +02:00
Chris Donnelly 1868e15137 fix(git): cherry-pick/revert tests actually pass now 2021-07-30 16:04:50 +02:00
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