Commit graph

545 commits

Author SHA1 Message Date
Jan De Dobbeleer 8ce47273df feat(cache): only write when dirty 2022-02-06 14:10:41 +01:00
Jan De Dobbeleer 7a60418297 feat(sysinfo): add disks
resolves #1710
2022-02-06 14:10:41 +01:00
Jan De Dobbeleer 4c4b97fa8b fix: provide terminal width from CLI 2022-02-06 11:04:36 +01:00
Jan De Dobbeleer 8f3bfd674b fix(manjaro): read lsb-release
relates to #1696
2022-02-06 11:04:36 +01:00
lnu 5daff6b934 fix: hyperlink regex updated
Issue when detecting and replacing text
2022-02-06 09:49:36 +01:00
Jan De Dobbeleer c34ea9c8f5 fix: exclude link on measure
resolves #1691
2022-02-05 21:41:33 +01:00
Jan De Dobbeleer d94a0db0a9 feat(os): support manjaro linux
resolves #1696
2022-02-05 20:37:48 +01:00
Jan De Dobbeleer 06291e168b fix(migrate): replace .Text with .Meaning
resolves #1697
2022-02-05 09:44:47 +01:00
Jan De Dobbeleer 35aead22fc fix(tooltip): set segment to active
resolves #1701
2022-02-05 09:44:47 +01:00
Jan De Dobbeleer 216541a4f8 refactor(image): count runes in string 2022-02-04 19:42:26 +01:00
Jan De Dobbeleer aba4093aba feat: filler between blocks 2022-02-04 19:42:26 +01:00
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
Jan De Dobbeleer fddee51f70 fix: restore default config 2022-02-03 21:21:10 +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 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
Jan De Dobbeleer e545b32896 fix: add platform to OS on linux
resolves #1639
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer b29ebcd058 chore: provide info for migrated config 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 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 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 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
Jan De Dobbeleer 59756813d3 refactor: naming standard for segments 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer bdd13cb32f refactor: move properties logic to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer c86b7b62bc refactor: move color logic to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 906ece2af9 refactor: move environment into it's own module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer f7a07c6b62 refactor(segments): string() to template()
moves templating engine to Segment
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0987cafad0 refactor: remove deprecated functionality 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer f5178e8c8c feat: remove enable_hyperlink 2022-02-03 10:44:18 +01:00