Commit graph

1786 commits

Author SHA1 Message Date
L. Yeung 5779f6ecb8 fix(bash): respect PROMPT_COMMAND as an array 2024-08-18 19:53:21 +02:00
L. Yeung 1510d207a2 refactor(font): remove unnecessary string formatting
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-08-17 10:18:44 +02:00
L. Yeung 2450bb0d6c refactor(battery): use syscall.SyscallN calls 2024-08-17 10:18:44 +02:00
Bohdan Dorokhin 67deabffda
fix(sitecore): replace HasFiles with HasFilesInDir
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-08-13 08:21:55 +02:00
dependabot[bot] 8ff47c7f65 chore: bump golang.org/x/sys from 0.23.0 to 0.24.0 in /src
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 00:26:46 +00:00
Jan De Dobbeleer 39b7615aac fix(toml): remove unsupported schema definition 2024-08-09 11:37:05 +02:00
L. Yeung 90aada5187 fix(path): apply style correctly
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-08-08 10:05:14 +02:00
dependabot[bot] 70d6f73d83 chore: bump golang.org/x/image from 0.18.0 to 0.19.0 in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/image/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 00:24:24 +00:00
L. Yeung 2f5f59b5d2 feat(fish): support on-demand prompt re-rendering
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-08-06 18:22:45 +02:00
L. Yeung 9bcc084787 refactor(pwsh): pass only non-filesystem path to pswd
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-08-06 14:26:38 +02:00
L. Yeung 485f45c496 feat(template): add .PSWD 2024-08-06 14:26:38 +02:00
dependabot[bot] 2000811db0 chore: bump golang.org/x/mod from 0.19.0 to 0.20.0 in /src
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 00:56:22 +00:00
dependabot[bot] 77dddf8380 chore: bump golang.org/x/sys from 0.22.0 to 0.23.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 00:56:14 +00:00
Jan De Dobbeleer 0f66661f6e fix(writer): correct width calculation for emoji's 2024-08-04 20:38:09 +02:00
Jan De Dobbeleer 9e238adbb9 chore(notice): add compiler flag to disable by default
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
resolves #5387
2024-08-01 07:56:17 +02:00
Yash-Garg dca6a52300 feat: add nix-shell segment 2024-08-01 07:48:44 +02:00
Elad Leev a6461d2d79 fix(kubectl): change cache to 0 by default 2024-07-30 21:21:08 +02:00
Jan De Dobbeleer 69f6982e2c refactor: rename os to terminal 2024-07-30 17:52:22 +02:00
Jan De Dobbeleer e8d653b2ed chore: add emoji count test 2024-07-30 17:52:22 +02:00
Jan De Dobbeleer a096a40fe6 fix(config): allow --config to overrule POSH_THEME
resolves #5376
2024-07-30 17:52:22 +02:00
Jan De Dobbeleer 53f313999a refactor: extract environment 2024-07-30 17:52:22 +02:00
Aria Bounds f38998ef18 fix(pwsh): fixed bad error code passing to Set-PoshContext 2024-07-29 07:16:23 +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
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 00260e1c72 fix(pwsh): wrap module code in try-catch blocks
relates to #5348
2024-07-26 08:11:57 +02: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
Adi Vaknin 79c859d434 feat(spotify): add segment cache on macOS 2024-07-25 20:39:38 +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
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 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
L. Yeung 479e6f551e feat(pwsh): cache prompt for repainting 2024-07-20 20:55:19 +02:00
L. Yeung 4b5bac3b4b fix(terminal): calculate length correctly 2024-07-17 11:11:12 +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
dependabot[bot] 7484d3c7b5 chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 00:48:38 +00:00
Jan De Dobbeleer 08c37417a2 fix(font): prevent zipslip attacks 2024-07-14 21:10:55 +02:00
Jan De Dobbeleer 4aba8fa9db fix(zsh): use POSH_PID as unique identifier instead of random 2024-07-14 07:50:45 +02:00
Jan De Dobbeleer 62e782a4eb feat(upgrade): update correct registry entry 2024-07-14 07:50:45 +02:00
Jan De Dobbeleer 58fd8e5f82 feat(windows): update registry on upgrade 2024-07-12 17:32:02 +02:00
dependabot[bot] c865759e2f chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.11.1...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 00:14:24 +00:00
Jan De Dobbeleer fb9d447c87 feat(az): add tenant name 2024-07-11 21:25:16 +02:00
EDIflyer 1d72a19694 fix(image): export with correct file name 2024-07-11 20:51:51 +02:00
Polo 31d5de095e fix(zsh): widget decoration when non-existent
This commit fixes commit f72c1464ab.
When the widget is undefined, we need to define it instead of decoraring
it.
This PR also makes the logic more robust and in case the decoration
function is used in other cases, expand its usage.
2024-07-11 19:38:48 +02:00
Polo f72c1464ab fix(zsh): decorate user-defined zsh widget
resolves #5193
2024-07-11 07:47:00 +02:00
L. Yeung ad34a6e530 docs(fish): lower version requirement 2024-07-11 07:32:36 +02:00
L. Yeung 66f1347357 fix(shell): avoid unnecessary CLI calls for prompt repaint 2024-07-11 07:32:36 +02:00
dependabot[bot] 18ff71a6ab chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 00:16:39 +00:00
Jan De Dobbeleer 1d38f36a14 fix(prompt): align right block logic with rprompt
resolves #5220
2024-07-10 10:11:48 +02:00
dependabot[bot] 8767dc3252 chore: bump github.com/gookit/goutil from 0.6.15 to 0.6.16 in /src
Bumps [github.com/gookit/goutil](https://github.com/gookit/goutil) from 0.6.15 to 0.6.16.
- [Release notes](https://github.com/gookit/goutil/releases)
- [Commits](https://github.com/gookit/goutil/compare/v0.6.15...v0.6.16)

---
updated-dependencies:
- dependency-name: github.com/gookit/goutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 01:02:04 +00:00
Jan De Dobbeleer d9c2fbb784 fix(install): release file lock before return 2024-07-09 22:36:18 +02:00
Jan De Dobbeleer 9bbd91b1b9 feat(build): sign windows binaries on release 2024-07-09 15:18:07 +02:00
Jan De Dobbeleer 3d0c85b211 feat(git): follow symlinks for git dir 2024-07-09 09:23:03 +02:00
Jan De Dobbeleer 4d3fe566e8 fix(nu): validate config field before manipulation
resolves #5230
2024-07-09 09:23:03 +02:00
L. Yeung d5ec96fef0 fix(bash): cache pipe status correctly 2024-07-09 06:48:05 +02:00
Jan De Dobbeleer b63009d3ff fix(notice): extend timeout to 5 seconds 2024-07-08 16:53:01 +02:00
Jan De Dobbeleer a65abd25a5 fix(bash): native rprompt
resolves #5221
2024-07-08 16:53:01 +02:00
Jan De Dobbeleer b103581ed6 refactor(prompt): explicitly enable cursor positioning 2024-07-08 16:53:01 +02:00
Jan De Dobbeleer 4c3110f3e5 fix(upgrade): stop spinner correctly 2024-07-06 15:12:25 +02:00
Jan De Dobbeleer e9119d4a2d fix(progress): do not escape sequence
resolves #5215
2024-07-06 10:33:36 +02:00
Jan De Dobbeleer 37b8e55131 fix(upgrade): stop progress before exit
resolves #5213
2024-07-06 10:33:36 +02:00
Jan De Dobbeleer 8b6933160a feat(transient): allow setting a newline 2024-07-06 10:33:36 +02:00
dependabot[bot] f0305cefcf chore: bump golang.org/x/mod from 0.18.0 to 0.19.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/mod/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 00:26:50 +00:00
dependabot[bot] 2782414156 chore: bump golang.org/x/sys from 0.21.0 to 0.22.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 00:26:31 +00:00
Jan De Dobbeleer ae35995c0d fix(upgrade): enable auto-upgrade on init
resolves #5206
2024-07-04 23:13:34 +02:00
Jan De Dobbeleer 23b314879b fix(yaml): parse colors correctly 2024-07-04 21:55:20 +02:00
Jan De Dobbeleer fc8ba361a9 chore(upgrade): add inline documentation 2024-07-04 21:55:20 +02:00
Jan De Dobbeleer b6729ff414 feat(install): validate file signature before installation 2024-07-04 20:02:37 +02:00
Jan De Dobbeleer 0829afb478 feat(build): update key algorithm 2024-07-04 17:04:37 +02:00
Jan De Dobbeleer 51e4faf557 fix(engine): reset segments after write
resolves #5202
2024-07-04 14:30:23 +02:00
Jan De Dobbeleer ad9a598edd chore(build): sign checksums with openssl 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer df4a81e2f6 refactor: rename concurrent to maps 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 822e2b5b48 refactor: merge net and http under runtime module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 05251e1ac3 refactor(platform): rename to runtime 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer bab346fcc5 refactor(prompt): extract extra prompt 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ad10da8cc9 refactor: move image to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ee9bdf4761 refactor: move color to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 4c34ffdc32 refactor: move formats to shell 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 0a4a589125 refactor: rename engine to prompt 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 3c6abf6163 refactor(config): extract to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 1855a786dc feat(font): remove install as user requirement on Windows 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer e0e26f1400 feat(font): add terminal progress indication 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer be8954867f feat(upgrade): add terminal progress indication 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 7c7bd14a45 refactor(upgrade): move download inline 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ddd2d154df refactor(terminal): rename ConsolePwd to Pwd 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer dbc0a370b2 refactor(terminal): make truecolor logic internal 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 0c8b8021b8 refactor: migrate terminal to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 8e2c8eb6b1 refactor(writer): restructure terminal writer 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 74aaa9b9a2 refactor(ansi): rename to writer 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 55c7cf2383 refactor: rename ansi to terminal 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 083625ec85 refactor: add built-in install 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 3537f3fd49 fix(upgrade): enable for all platforms
resolves #5184
2024-06-29 20:04:48 +02:00
Jan De Dobbeleer dc002fc1e1 fix(cmd): use process ID for cache
resolves #5182
2024-06-28 20:55:17 +02:00
Jan De Dobbeleer 0449aa8a2d feat(config): only download when changed
resolves #5176
2024-06-28 10:04:25 +02:00
Jan De Dobbeleer 12a732d63a fix(font): validate list existance before updating
resolves #5178
2024-06-28 10:04:25 +02:00
dependabot[bot] 170e5ac9e5 chore: bump golang.org/x/image from 0.17.0 to 0.18.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 00:50:02 +00:00
dependabot[bot] 9d29d6a6d0 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.5 to 0.26.6.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.5...v0.26.6)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 00:34:33 +00:00
Jan De Dobbeleer fa879a0ec2 fix(windows): create unique installer 2024-06-24 21:04:50 +02:00
Jan De Dobbeleer 197eaaa334 fix(pwsh): use correct dbg prompt logic
resolves #5153
2024-06-24 08:50:21 +02:00
dependabot[bot] 2a9104f22b chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.4 to 0.26.5.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.4...v0.26.5)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 01:03:19 +00:00
Jan De Dobbeleer 6ee743793a feat(block): allow leading and trailing diamond
relates to #5121
2024-06-21 13:52:57 +02:00
L. Yeung 7f418d7c2d fix(shell): prioritize $? for consistent status in Bash/Zsh 2024-06-20 12:54:03 +02:00
Jan De Dobbeleer 9f2c6d1df5 fix(path): force linux style path for .Location
resolves #5125
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer b809944f5c fix(upgrade): disable upgrade feedback when notice is disabled
resolves #5124
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer b6f5999e21 feat(path): allow displaying the cygwin style path
resolves #5074
2024-06-20 12:27:25 +02:00
dependabot[bot] e4fe0dbf72 chore: bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.20.1 to 2.21.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.20.1...v2.21.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 00:18:22 +00:00
Michael Schwobe 9b62e69348 feat(node): add Yarn segment and fix PNPM docs 2024-06-19 17:34:51 +02:00
Jan De Dobbeleer 6c29f43ae5 fix(yaml): update parser to always escape tilde 2024-06-18 12:50:11 +02:00
Nibodhika 8eb8d88a20 feat(nushell): enable set_poshcontext
resolves #5095
2024-06-18 08:46:48 +02:00
Jan De Dobbeleer 0e45aa5997 fix(tcsh): print literal newline char with leading space
it be like that sometimes, I also have no clue why this is necessary

resolves #5105
2024-06-17 19:46:22 +02:00
Jan De Dobbeleer f817acf963 refactor(bash): use default value for COLUMNS
relates to #5102
2024-06-17 15:59:29 +02:00
Jan De Dobbeleer 33ac83551e feat(path): enable templates for max_width
resolves #5097
2024-06-17 15:59:29 +02:00
Michael Schwobe 6554dbf9d4 feat(node): add PNPM segment and update Node context 2024-06-17 08:41:33 +02:00
Jan De Dobbeleer dc2915c72c fix(bash): only use COLUMNS when it's present
relates to #5090
2024-06-17 07:58:58 +02:00
dependabot[bot] c3d91f460a chore: bump github.com/spf13/cobra from 1.8.0 to 1.8.1 in /src
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 01:05:49 +00:00
Jan De Dobbeleer 48a2dff7c2 fix(ansi): escape prompt sequences correctly
resolves #5090
2024-06-16 14:19:32 +02:00
Jan De Dobbeleer 4ed8104d2d fix(bash): get terminal width from COLUMNS
resolves #5090
2024-06-15 17:41:59 +02:00
Nathaniel D. Hoffman 1098aa92f8
feat(os): add default symbol for EndeavourOS 2024-06-15 06:36:20 +00:00
Jan De Dobbeleer 2686a802a3 fix(upgrade): align notice with platform 2024-06-14 19:01:34 +02:00
Jan De Dobbeleer 129c41ba34 feat(upgrade): auto upgrade 2024-06-14 17:58:48 +02:00
Jan De Dobbeleer 527eef0526 feat(upgrade): use built-in upgrade by default 2024-06-14 17:58:48 +02:00
Jan De Dobbeleer 1d53e088cb chore(go): update dependencies 2024-06-14 17:58:48 +02:00
Michael Rose 3ff30f993e feat(tooltips): allow multiple tooltips for tip
Instead of rendering only the last tooltip that matches a given tip it
will now render all tooltips that trigger for that tip.
2024-06-14 13:10:52 +02:00
Jan De Dobbeleer 821e45e968 feat(template): add .AbsolutePWD 2024-06-13 15:03:51 +02:00