Commit graph

148 commits

Author SHA1 Message Date
Jan De Dobbeleer 8c0d33cf13 feat(pwsh): sync themes un update/install 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer 50ee821688 chore(pwsh): print version on install 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer a357becb85 feat: pwsh module as install facilitator 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer 5b5666b5b0 feat: add go-releaser 2021-11-25 10:58:30 +01:00
Hasan Cem Cerit 7627a65c66 fix: add FullName for explicit path 2021-11-23 16:48:43 +01:00
Jan De Dobbeleer d422325f98 feat(pwsh): download executable from module 2021-11-22 11:53:28 +01:00
lnu 9f200a8930 ci: remove wsl executable from windows packages
for wsl, a manual install is required(linux install).
2021-11-22 10:49:41 +01:00
denelon 4359450542
feat(winget): add oh-my-posh tag
The Windows Package Manager has identified users searching for "oh-my-posh". This adds the tag.
2021-11-09 21:23:04 +01:00
Laurent Nullens 5321ae116e
feat(pwsh): missing hyperlinks for Get-PoshThemes -list (#1166) 2021-11-04 08:24:46 +01:00
Jan De Dobbeleer 3c3da5e9df chore(pwsh): warm user we're unable to set the console to UTF-8
relates to #1100
2021-10-28 11:42:37 +02:00
lnu 410fb82e13 feat(pwsh): render hyperlink for theme name
render hyperlink for theme name and themes location in Get-PoshThemes
bold attribute removed since it's not really working in windows
terminal(https://github.com/microsoft/terminal/issues/109)
2021-10-18 20:59:37 +02:00
Jan De Dobbeleer 4eb3b439ba fix: emulate amd64 on surface pro x 2021-09-18 13:44:49 +02:00
Jan De Dobbeleer 5de2c1ae68 fix(linux): add armv7l build
resolves #956
2021-09-14 22:34:55 +02:00
Jan De Dobbeleer ebaa20ea3f feat(winget): arm64 support 2021-09-14 18:49:29 +02:00
Jan De Dobbeleer 83fc90273f refactor(linux): build arm64 2021-09-14 18:49:29 +02:00
Jan De Dobbeleer 4cfbf21c90 feat(pwsh): arm64 support 2021-09-14 18:49:29 +02:00
Jan De Dobbeleer 9100586564
chore(winget): lower-case tags 2021-09-01 17:02:08 +02:00
Jan De Dobbeleer bac68f996d fix(winget): use x64 2021-06-25 20:14:32 +02:00
Jan De Dobbeleer 1b0ceaff70 chore: use latest wingetcreate self-contained binary 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer dbcd16b412 fix(winget): remove duplicate installer 2021-06-06 13:42:33 +02:00
Jan De Dobbeleer b21670f35b fix: consistent naming for Oh My Posh
relates to https://github.com/microsoft/winget-pkgs/pull/16328
2021-06-06 13:42:33 +02:00
lnu abe3d0990b feat: -list parameter added to Get-PoshThemes
-list display the theme full path instead of the preview
Themes location added at the end
2021-06-05 15:16:41 +02:00
Jan De Dobbeleer c8ef9edc77 feat: winget support 2021-05-31 22:06:33 +02:00
Jan De Dobbeleer 894b84fa85 fix(pwsh): get filesystem path for configs
resolves #715
2021-05-21 20:33:11 +02:00
Jan De Dobbeleer 4a16c3fc6c refactor(pwsh): postfix invoke-expression
relates to #708
2021-05-18 20:43:25 +02:00
Jan De Dobbeleer b0709e68b3 fix(pwsh): force module to UTF8
resolves #670
2021-04-20 21:37:09 +02:00
lnu 4f96cc0f7c fix: wrong stack count when init from Set-PoshPrompt 2021-04-14 07:00:44 +02:00
Jan De Dobbeleer 0077eb24ff fix(pwsh): support raspbian
resolves #629
2021-04-11 15:27:20 +02:00
Rob Cannon e2a86e8bd5 fix(pwsh): suppress error message for chmod 2021-03-29 19:44:40 +02:00
Jan De Dobbeleer 18c56efd2e feat: multiple config formats 2021-03-21 19:30:56 +01:00
Equinox 7b54e88c62 docs: fix various spelling errors 2021-03-15 18:11:16 +01:00
Jan De Dobbeleer ce5a9d6b76 feat(pwsh): force session to UTF8 2021-03-14 17:55:44 +01:00
Jan De Dobbeleer a0e18e998c fix(pwsh): use standard separator char 2021-03-14 09:14:29 +01:00
TravisTX 20e7d22da5 docs: add info for the themes page 2021-03-13 16:02:33 +01:00
Jan De Dobbeleer c77297c867 feat(pwsh): add linx arm binary
resolves #512
2021-03-12 20:04:33 +01:00
Michael LoPresti 90cd37e516 fix: powershell exports config files as utf8 without BOM 2021-03-06 07:05:36 +01:00
Jan De Dobbeleer 1638e2455d fix(pwsh): remove function override
resolves #481
2021-03-03 20:55:49 +01:00
Jan De Dobbeleer 636ec436eb feat(pwsh): support 32 bit systems
resolves #479
2021-03-03 19:20:32 +01:00
Jan De Dobbeleer 7377f31d70 fix(scoop): add executables to PATH
resolves #449
2021-02-24 13:13:10 +01:00
Jan De Dobbeleer 59b0595c5b fix(pwsh): do not validate permissions before set
the current implementation is too flacky and breaks the module on
certain unix systems

relates to #393
2021-02-18 17:07:19 +01:00
Jan De Dobbeleer 9b137827e1 fix(pwsh): correct encoding for config export
resolves #425
2021-02-18 10:46:21 +01:00
Jan De Dobbeleer e51685607d feat(pwsh): move out of beta 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer 9db255e06f fix(pwsh): do not check for write permissions
as this permission is already present, it does not set executable
permissions when needed rsulting is a crashing command

resolves #393
2021-02-11 19:18:51 +01:00
Jan De Dobbeleer 7e1a5ecdc5 refactor(pwsh): remove Set-Theme from V2 deprecation list
this conflicts with other tooling such as Terminal-Icons that also
has a Set-Theme cmdlet. Overriding this will break that functionality.

relates to #382
2021-02-07 07:39:50 +01:00
TravisTX 55fb04335e fix: theme completion 2021-02-06 07:41:29 +01:00
Jan De Dobbeleer 7aeb61ba86 feat: inno installer for Windows 2021-01-28 22:01:11 +01:00
Rob Cannon 5a57cffcdd fix: check permissions before attempting chmod
closes #363
2021-01-24 13:14:55 +01:00
Jan De Dobbeleer ee4b039e7a feat(pwsh): add context for V2 users 2021-01-19 19:22:46 +01:00
Jan De Dobbeleer b651c9a065 fix(pwsh): provide full config path
resolves #355
2021-01-18 20:06:51 +01:00
Jan De Dobbeleer edebc1d465 refactor: align pwsh module with init 2021-01-17 19:25:19 +01:00
Jan De Dobbeleer 780722a371 refactor(powershell): use PSDrive path
resolves #329
2021-01-09 20:00:39 +01:00
Jan De Dobbeleer 598984b4cb refactor: check for availability of posh-git iso cmdlet
resolves #325
2021-01-07 13:31:13 +01:00
TravisTX 23eb73cd69 fix: fix lastexitcode 2020-12-30 16:30:51 +01:00
lnu 0fcf7cc8be feat: replace debug information with a new layout
Similar as Starship timings command
2020-12-29 21:47:04 +01:00
Jan De Dobbeleer a1b2b8d67b feat: initialize pwsh starship style 2020-12-23 10:02:20 +01:00
TravisTX 21f01d69e8 feat: execution time for powershell 5 2020-12-19 21:47:08 +01:00
Jan De Dobbeleer b229c4dcad fix: powershell duration can be $null
resolves #236
2020-12-14 12:28:53 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
Jan De Dobbeleer bd4d563245 fix: ignore error code 0 for non-native errors
resolves #207
2020-12-02 09:53:41 +01:00
PIYUSH194 732035dfa1 feat: support Powershell 5 2020-12-01 20:49:51 +01:00
Jan De Dobbeleer 56a58c700a fix: auto complete themes in Powershell 2020-11-28 19:56:55 +01:00
Jan De Dobbeleer e68be7aa44 feat: use *.omp.json as theme format 2020-11-28 19:29:44 +01:00
Wolfspirit 991ce4b4ce fix: empty error code handling in docs and module 2020-11-26 15:20:35 +01:00
Jan De Dobbeleer 2a54724a75 fix: include scoop zip hash
relates to #150
2020-11-20 15:48:36 +01:00
Jan De Dobbeleer 4bcd98cda7 feat: update scoop experience
resolves #150
2020-11-20 13:03:53 +01:00
lnu bea3258758 feat: new ShowDebug parameter
calculate each segment timing
new parameter to show/hide segment debug information
set-poshprompt updated with the new showDebug parameter

Force disabled segment to be visible for debug purpose
2020-11-19 19:03:56 +01:00
lnu 1f3c253e45 feat: get native and powershell error code
Check native and powershell errors before sending it to oh-my-posh
2020-11-18 10:51:11 +01:00
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
Jan De Dobbeleer aa36303962 fix: set $Global:GitStatus when Get-GitStatus exists
resolves #126
2020-11-08 14:09:38 +01:00
Jan De Dobbeleer e798ad0623 fix: user correct path and statement
resolves #119
2020-11-02 14:23:09 +01:00
Jan De Dobbeleer 1df4549b8d fix: add post-install to scoop 2020-11-01 17:29:52 +01:00
Jan De Dobbeleer 0f30953212 feat: add themes to scoop 2020-11-01 17:24:29 +01:00
Jan De Dobbeleer 89503bd6a1 fix: rename scoop json 2020-11-01 13:53:44 +01:00
Jan De Dobbeleer 16e9fd2c6e fix: run post-install script 2020-11-01 11:44:26 +01:00
Jan De Dobbeleer 0f9ef8b9b6 feat: scoop support 2020-10-31 21:31:57 +01:00
Jan De Dobbeleer 58a03f1c97 fix: remove escape characters from $PWD
resolves #111
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer 8986c3b621 fix: use correct path for ProcessStartInfo
resolves #112
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer dc6548572f fix: resolve path before assigning theme
resolves #107
2020-10-28 11:05:34 +01:00
Jan De Dobbeleer ab0a415a3b fix: call Set-PoshContext first
resolves #103
2020-10-27 12:22:02 +01:00
Jan De Dobbeleer 33c40ebf39 fix: theme paths with spaces
resolves #100
2020-10-27 10:49:08 +01:00
Jan De Dobbeleer 6deeb55fd2 fix: provide full path to executable
resolves #98
2020-10-25 19:43:01 +01:00
Jan De Dobbeleer 8155c4b232 fix: powershell invocation 2020-10-24 19:51:00 +02:00
Jan De Dobbeleer 86d68700c1 refactor: adjust logo in Powershell 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 9627b905e6 fix: catch error setting encoding outside of console 2020-10-12 16:28:03 +02:00
Jan De Dobbeleer c49a8ee443 feat: env var segment 2020-10-09 20:54:41 +02:00
Jan De Dobbeleer 8978038a3c fix: use PWD for current dir
On Windows, when in the registry, os.Getwd() returns the previous
path rather than the registry location. Settings PWD as an environment
variable might seem hacky but it's the only way to resolve this.

Resolves #40
2020-10-09 08:25:06 +02:00
Jan De Dobbeleer 41822b81fd refactor: no masters 2020-10-05 19:44:46 +02:00
Jan De Dobbeleer d3207328e5 refactor: hello world oh-my-posh3 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 2b0b36b835 refactor: rename Themes folder for consistency 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer ddcd4c635b refactor(pwsh): print the currently selected theme 2020-09-21 08:01:24 +02:00
Jan De Dobbeleer 2fee6237b6 fix(pwsh): invoke executable correctly on import 2020-09-21 08:01:24 +02:00
Jan De Dobbeleer 56fc37214f refactor(pwsh): default to jandedobbeleer theme 2020-09-20 19:48:24 +02:00
Jan De Dobbeleer 401c5b3265 fix(pwsh): fix invocation of executable 2020-09-20 19:48:24 +02:00
Jan De Dobbeleer 87325c5a05 fix(pwsh): run command once on module import 2020-09-20 09:55:41 +02:00
Jan De Dobbeleer 18746bdc4b feat(pwsh): theme parameter is optional 2020-09-20 09:55:41 +02:00
Jan De Dobbeleer 177f328ac6 fix: enable ANSI color support on Windows
resolves #5
2020-09-20 09:55:41 +02:00
Jan De Dobbeleer f3582d229e feat(pkg): add PowerShell package 2020-09-16 10:46:50 +02:00