Commit graph

3779 commits

Author SHA1 Message Date
L. Yeung 7273dba124 fix(shell): revise initialization scripts 2024-07-26 10:35:45 +02:00
Jan De Dobbeleer 7081cac3a2 feat(git): enable posh-git from the git segment config
BREAKING CHANGE: To use the posh-git module output, you must now set the
`source` property to `pwsh` in the git segment configuration.

In case you are using the default configuration,
you don't need to change anything.
2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 15ab7783b7 docs(az): remove switch to enable manually 2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 00260e1c72 fix(pwsh): wrap module code in try-catch blocks
relates to #5348
2024-07-26 08:11:57 +02:00
dependabot[bot] 34e8154b71 chore: bump github/codeql-action from 3.25.13 to 3.25.14
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.14.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d790406f5...5cf07d8b70)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 00:26:02 +00:00
Jan De Dobbeleer 07655211f8 fix(fish): correctly export environment variables 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 51c3f9e0eb fix(windows): only reformat pwd on cygwin 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 1a7f2d2d10 feat(init): add --debug flag 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 9e73b15a3b feat(debug): provide shell name on debug 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ffd961fc6c feat(cache): split session and device cache 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4fa407d15e refactor: better use of POSH_THEME 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer f9d2f6040e feat(cygwin): better detection 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 6f30788a16 fix(zsh): correct logic to enable tooltips
resolves #5288
2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4a1aa2a7b4 refactor(init): enable features automatically 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ef16b1cd3a refactor(color): move background Template to colors 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer c1f99f8e6b fix: disable hyperlink functionality for unsupported shells 2024-07-25 21:03:10 +02:00
allcontributors[bot] c7e7e7464f docs: update .all-contributorsrc [skip ci] 2024-07-25 20:40:07 +02:00
allcontributors[bot] fb97c83c25 docs: update website/docs/contributors.md [skip ci] 2024-07-25 20:40:07 +02:00
Adi Vaknin 79c859d434 feat(spotify): add segment cache on macOS 2024-07-25 20:39:38 +02:00
allcontributors[bot] e3928901fc docs: update .all-contributorsrc [skip ci] 2024-07-25 17:33:26 +02:00
allcontributors[bot] 8cc1ff91ce docs: update website/docs/contributors.md [skip ci] 2024-07-25 17:33:26 +02:00
Felipe Zorzo 8759171096 feat(maven): add segment 2024-07-25 17:32:53 +02:00
Jan De Dobbeleer eb1cf548cd fix: correct hyperlinks for Git Bash
kill it with fire
2024-07-23 21:23:15 +02:00
Jan De Dobbeleer 7563d5f4ad fix(pwsh): remove prompt cache
resolves #5332
2024-07-23 13:36:58 +02:00
Jan De Dobbeleer 81d79a7e41 docs(blog): reword rprompt text 2024-07-23 13:36:58 +02:00
dependabot[bot] dd74429a8c chore: bump github.com/mattn/go-runewidth from 0.0.15 to 0.0.16 in /src
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.15 to 0.0.16.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.15...v0.0.16)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 00:16:35 +00:00
Jan De Dobbeleer 2334f410f2 docs(blog): bash rprompt deprecation statement 2024-07-22 16:11:31 +02:00
Jan De Dobbeleer cd9c7f58d8 fix(notice): disable notice when we're not connected
resolves #5325
2024-07-22 11:48:12 +02:00
Jan De Dobbeleer 7ab48aff70 fix(upgrade): use correct version to compare against 2024-07-22 11:48:12 +02:00
Jan De Dobbeleer b356900c30 feat(font): cache font list
resolves #5300
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 0b4a9ceb31 fix(install): validate permissions before upgrade
resolves #5318
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 55bc366a8a feat(upgrade): do not upgrade to major versions automatically
resolves #5273
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer cdfd249b28 fix(bash): remove rprompt support
BREAKING CHANGE: rprompt is no longer supported for bash due to too many
side effects that have no solution in sight.
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 083c204694 refactor: simpler prompt caching logic 2024-07-22 09:22:10 +02:00
Jan De Dobbeleer c5195f6668 fix(bash): correctly align multiline prompt
relates to #5308
2024-07-22 09:22:10 +02:00
dependabot[bot] 87732c1074 chore: bump github/codeql-action from 3.25.12 to 3.25.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.12 to 3.25.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4fa2a79536...2d790406f5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 00:35:47 +00:00
L. Yeung 479e6f551e feat(pwsh): cache prompt for repainting 2024-07-20 20:55:19 +02:00
dependabot[bot] 4a3d283ec4 chore: bump softprops/action-gh-release from 2.0.7 to 2.0.8
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](fb2d03176f...c062e08bd5)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 06:54:01 +00:00
allcontributors[bot] 159df3b7cf docs: update .all-contributorsrc [skip ci] 2024-07-18 15:44:50 +02:00
allcontributors[bot] 550f40f75b docs: update website/docs/contributors.md [skip ci] 2024-07-18 15:44:50 +02:00
George Schizas 02e06f9cb5 docs: fix a few broken link in themes' json schema 2024-07-18 15:44:17 +02:00
dependabot[bot] 01cc0f2d27 chore: bump softprops/action-gh-release from 2.0.6 to 2.0.7
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](a74c6b72af...fb2d03176f)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 00:50:47 +00:00
L. Yeung 4b5bac3b4b fix(terminal): calculate length correctly 2024-07-17 11:11:12 +02:00
Jan De Dobbeleer 57f0eecf39 docs(customize): start with shell specific config syntax 2024-07-17 08:46:53 +02:00
Jan De Dobbeleer 63fe24be4a docs(fonts): specify host installation
resolves #5284
2024-07-17 08:46:53 +02:00
Jan De Dobbeleer 55113b8e66 feat(install): use user-writable installation directories by default
relates to #5284
2024-07-17 08:46:53 +02:00
Jan De Dobbeleer 024c8b6ed5 fix(pwsh): restore prompt function override 2024-07-17 08:02:09 +02:00
Jan De Dobbeleer 17134cdb29 fix(bash): support multiline prompt 2024-07-15 22:53:41 +02:00
L. Yeung 2585b90946 refactor(shell): normalize identifiers in initialization scripts 2024-07-15 06:59:13 +02:00
L. Yeung ec2c6fb2d8 fix(zsh): use decorated widget for rendering tooltips 2024-07-15 06:59:13 +02:00