Commit graph

1550 commits

Author SHA1 Message Date
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
Aaron Powell 59ebe57b19 feat(azd): add Azure Developer CLI segment
resolves #4702
2024-06-12 12:21:48 +02:00
Jan De Dobbeleer fbc21b8c97 fix(git): set .Ref correctly on detached HEAD
resolves #5035
2024-06-10 16:25:36 +02:00
Jan De Dobbeleer ddd120178d feat(font): reload font cache on unix systems 2024-06-10 16:25:36 +02:00
Jan De Dobbeleer 89beb8db68 feat(font): install system wide as root on Linux 2024-06-10 16:25:36 +02:00
Joxtacy 27b193b8c5 feat(segment): add bun 2024-06-10 11:33:44 +02:00
dependabot[bot] cee2474b61 chore: bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 12:51:42 +00:00
Jan De Dobbeleer 523cd98e1a feat(os): allow overriding distro name
resolves #5011
2024-06-06 14:47:12 +02:00
pin d824c78464
fix(upgrade): include netbsd 2024-06-05 07:22:07 +02:00
dependabot[bot] cbc571746f chore: bump golang.org/x/sys from 0.20.0 to 0.21.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.21.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-06-05 00:53:13 +00:00
dependabot[bot] 211d18abb3 chore: bump golang.org/x/mod from 0.17.0 to 0.18.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/mod/compare/v0.17.0...v0.18.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-06-05 00:47:30 +00:00
dependabot[bot] e585e288a9 chore: bump golang.org/x/image from 0.16.0 to 0.17.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/image/compare/v0.16.0...v0.17.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-05 00:47:21 +00:00
dependabot[bot] 08a1fc4e81 chore: bump golang.org/x/text from 0.15.0 to 0.16.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 00:47:06 +00:00
Jan De Dobbeleer fdf0de08c4 fix(linux): remove support for upgrade
resolves #4992 as we are not able to support the upgrade command
on linux as updating oh-my-posh from within itself is impossible
to due a lock on the executable, unlike on darwin

Windows is able to update the executable after we start the installer
in the background and exit the current process
2024-06-04 20:55:21 +02:00
Lucas Costi acc884ccbd chore: update node LTS versions 2024-06-04 11:11:03 +02:00
Arjan Schrijver d20bf0f881 feat(git): add icon for Codeberg upstream 2024-06-03 14:00:22 +02:00
dependabot[bot] 443fdb24a1 chore: bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.24.4 to 3.24.5.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.4...v3.24.5)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 00:36:11 +00:00
Jan De Dobbeleer a0d2289aec feat(cli): add upgrade command 2024-06-01 16:59:48 +02:00
dependabot[bot] bbe9f9bc02 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.3 to 0.26.4.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.3...v0.26.4)

---
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-05-31 00:44:49 +00:00
Matthew Miller 041c5d4d2d fix: owm allow location city name with spaces
- Escape the location parameter of the owm segment to allow for city
  names with spaces to function correctly.
- Update the owm api url to use https.
2024-05-30 21:24:50 +02:00
LNKLEO 722073b52f feat(owm): only use location for api call
BREAKING CHANGE: location is now required instead of latitude
and longitude
2024-05-29 17:25:18 +02:00
Jan De Dobbeleer 099f6cb6c3 fix(ansi): reset background when transparent 2024-05-29 14:14:48 +02:00
Jan De Dobbeleer 517b7a6d57 fix(font): use font base name 2024-05-27 20:11:44 +02:00
Jan De Dobbeleer 45d6f5d412 fix(cmd): initialize cache correctly
resolves #4959
2024-05-26 17:45:51 +02:00
dependabot[bot] 0a3b317224 chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.10.0...v0.11.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-05-24 01:01:42 +00:00
dependabot[bot] f989e507cb chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.2 to 0.26.3.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.2...v0.26.3)

---
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-05-24 00:55:34 +00:00
Jeffrey Labonski 11606ead7a feat(helm): add helmfile support 2024-05-23 18:12:56 +02:00
dependabot[bot] e03023d1cc chore: bump github.com/goccy/go-json from 0.10.2 to 0.10.3
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 08:00:36 +00:00
Jan De Dobbeleer be47940d00 feat(powerline): add leading_powerline_symbol 2024-05-23 09:55:37 +02:00
Jan De Dobbeleer eebb45ef07 fix(iterm): initialize prompt mark correctly for all supported shells 2024-05-20 20:05:16 +02:00
Ernesto Casablanca 5dee9d74a6 fix: correct links for versions higher than 6 2024-05-20 16:20:01 +02:00
Jan De Dobbeleer e7a10ac029 feat(iterm): add iTerm features to the root configuration
BREAKING CHANGE: The iTerm segment has been removed and its features
have been added to the root configuration. To re-enable the iTerm
features, remove the iTerm segment and add the following to your
oh-my-posh configuration:

```json
{
  "iterm_features": ["prompt_mark", "current_dir", "remote_host"]
}
```

Choose this option if you want to enable the prompt mark for shell
integration and/or enable current directory and remote host in the
iTerm status bar.
2024-05-19 14:13:01 +02:00
Jan De Dobbeleer 391ceaf5f0 feat(zsh): remove rprompt space natively 2024-05-19 09:19:58 +02:00
Jan De Dobbeleer 950c608939 feat(go): upgrade to 1.22.3 2024-05-19 08:44:07 +02:00
Jan De Dobbeleer 4e9f7f9060 feat(font): add official Cascadia Code release
resolves #4936
2024-05-17 13:56:19 +02:00
Jan De Dobbeleer 2a144c9d07 fix(template): correctly map SHLVL for use 2024-05-14 20:16:46 +02:00
Jan De Dobbeleer 738048bc9f feat(python): add support for py launcher
resolves #4923
2024-05-13 08:41:21 +02:00