Commit graph

1398 commits

Author SHA1 Message Date
Jan De Dobbeleer 04e6579a8e refactor: count length using written text 2022-02-04 19:42:26 +01:00
Chris Donnelly 06e08074fe fix(git): detect when upstream no longer exists
Currently the git segment does not detect when an upstream is removed
(e.g., a PR is merged and the remote branch is deleted).

This change adds functionality to detect when upstream is removed;
if the status reports "branch.upstream" but no "branch.ab", it is gone.

The UI has also been changed to reflect this third state;
it now matches posh-git's behavior, which only shows the Gone icon
if an upstream branch is set but does not report ahead/behind counts.
2022-02-04 19:14:27 +01:00
Jan De Dobbeleer 7dab387a11 fix: migrate console title template
relates to #1678
2022-02-04 09:13:04 +01:00
allcontributors[bot] b0072ae039 docs: update .all-contributorsrc [skip ci] 2022-02-04 09:02:28 +01:00
allcontributors[bot] de26caedea docs: update docs/docs/contributors.md [skip ci] 2022-02-04 09:02:28 +01:00
allcontributors[bot] b19489a756 docs: update .all-contributorsrc [skip ci] 2022-02-04 09:02:08 +01:00
allcontributors[bot] 447ff7ba3d docs: update docs/docs/contributors.md [skip ci] 2022-02-04 09:02:08 +01:00
allcontributors[bot] b352600ac2 docs: update .all-contributorsrc [skip ci] 2022-02-04 09:01:11 +01:00
allcontributors[bot] 8b2aaa73d1 docs: update docs/docs/contributors.md [skip ci] 2022-02-04 09:01:11 +01:00
markbull 8f72c37e91 theme: update markbull
1. Add hyperlink in "path" segment
2. Fix display error in "exit" segment
2022-02-04 08:58:20 +01:00
Brian 4b40282140 fix: broken title paths
Before: https://z.zz.fo/U5NJm.png
After: https://z.zz.fo/cJLpY.png
2022-02-04 07:32:34 +01:00
Patrick Hyatt ef19887746 docs: correct number of options documented. three to two 2022-02-03 23:52:00 +01:00
Jan De Dobbeleer fddee51f70 fix: restore default config 2022-02-03 21:21:10 +01:00
lydia7635 89619bb2a2 theme: add velvet 2022-02-03 18:01:16 +01:00
Jan De Dobbeleer e1a7f4e954 fix: populate temp cache before assignment
resolves #1673
2022-02-03 17:49:28 +01:00
Jan De Dobbeleer 156040735e chore: add gitkraken badge to README 2022-02-03 12:01:59 +01:00
Jan De Dobbeleer d346693286 chore: migrate algolia search 2022-02-03 12:01:59 +01:00
Jan De Dobbeleer 696bdda00a feat: support laravel in php
resolves #1171
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer 08f7a6a17e feat: support vue.js in node
resolves #1171
2022-02-03 12:01:59 +01:00
dependabot[bot] fffb0faeb1 chore: bump algoliasearch-helper from 3.5.5 to 3.7.0 in /docs
---
updated-dependencies:
- dependency-name: algoliasearch-helper
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer e545b32896 fix: add platform to OS on linux
resolves #1639
2022-02-03 12:01:59 +01:00
Laurent Nullens 6e91805aa7
feat(pwsh): don't overwrite dev build 2022-02-03 10:28:47 +00:00
Jan De Dobbeleer b29ebcd058 chore: provide info for migrated config 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 86db860fe6 theme: migrate all 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer a9d32a86d4 chore: rename migrations -> migrate 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0621d0d97a chore: backup original config 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 6b6aec43d5 fix: migrate text correctly 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer b9b789b513 docs: remove pre/postfix references 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer a091e5c387 fix: migrate exit segment correctly 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 42f9747558 fix: do not insert color override in existing template 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 566240c0ed fix: do not escape emoji 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer bfca351796 chore: do not auto migrate on manual switch 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 6fcae4207e chore(migrate): backup config on migration 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0185299263 feat(config): auto migrate to 1 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer a5162b0f19 refactor(segment): cleaner logic 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 55ab413d6e fix: do not render empty/whitespace segments 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 01bd42b3eb fix(config): export glyphs correctly escaped 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer ece3a97a33 chore(go): test all modules 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 83980a3dff feat: deprecate pre- and postfix 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer b4292e2e50 docs: add template information 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0373d2c507 feat(config): migrate deprecated keys 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0e056cd50d feat(template): hyperlink functions 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer e95e0d6b1b fix(engine): allow template override 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer c94e5e6efb chore(template): add tests for roundSeconds 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer eef50268a9 refactor(template): rename files 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer d5c34b58da docs: fix broken link to tests example 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer fee29f4b2e refactor: move engine to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer c0f4b6d6f0 refactor: move title to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 9e7abe4541 refactor: move segments to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 4e17e4a853 refactor: public interface for segments 2022-02-03 10:44:18 +01:00