Commit graph

3644 commits

Author SHA1 Message Date
Jan De Dobbeleer 53f313999a refactor: extract environment 2024-07-30 17:52:22 +02:00
dependabot[bot] 41268e832a chore: bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-30 00:38:41 +00:00
Aria Bounds f38998ef18 fix(pwsh): fixed bad error code passing to Set-PoshContext 2024-07-29 07:16:23 +02:00
dependabot[bot] 5a6e98946a chore: bump github/codeql-action from 3.25.14 to 3.25.15
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.14 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5cf07d8b70...afb54ba388)

---
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-29 00:24:46 +00:00
allcontributors[bot] 00c3e196bb docs: update .all-contributorsrc [skip ci] 2024-07-27 18:03:04 +02:00
allcontributors[bot] 76fa821ca7 docs: update website/docs/contributors.md [skip ci] 2024-07-27 18:03:04 +02:00
Aria Bounds a43f57dd79 feat(pwsh): pass original last execution status to Set-PoshContext for use in pwsh alias 2024-07-27 18:02:32 +02:00
L. Yeung b4e19adae1 fix(zsh): work around bugs when used with zsh-syntax-highlighting 2024-07-27 16:25:51 +02:00
allcontributors[bot] 58a5056aee docs: update .all-contributorsrc [skip ci] 2024-07-27 12:13:05 +02:00
allcontributors[bot] bd232627e9 docs: update website/docs/contributors.md [skip ci] 2024-07-27 12:13:05 +02:00
Jan De Dobbeleer 4e492e05be docs: rename kubectl to kubernetes 2024-07-27 12:12:36 +02:00
Elad Leev 576ec376d5 feat(kubectl): add cache to kubectl 2024-07-27 12:12:36 +02:00
Jan De Dobbeleer 7a6478269c feat(git): mapped branches
resolves #4979
2024-07-27 11:25:12 +02:00
Jan De Dobbeleer 1c908a8ce6 fix(git): resolve bare repo pointer 2024-07-26 15:52:24 +02:00
Jan De Dobbeleer 3fddcac9bf fix(git): more robust worktree identification
resolves #5343
2024-07-26 15:52:24 +02:00
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