Commit graph

1001 commits

Author SHA1 Message Date
Jan De Dobbeleer cad0a1be8f fix(pwsh): use literal path
relates to #2949
2022-10-19 12:04:05 +02:00
Jan De Dobbeleer e4d58213ec fix(path): use correct path for WSL conversion 2022-10-19 12:04:05 +02:00
Jan De Dobbeleer 6db3c8cfc2 feat(language): missing version info in .Error
resolves #2957
2022-10-18 20:06:16 +02:00
Jan De Dobbeleer ef8055eb08 fix(config): export default config
resolves #2961
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer b174c27a5b fix(zsh): restore broken keybindings
relates to #2617
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer dd5bc77576 feat(pwsh): allow disabling folder fallback
resolves #2949
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer dee6d18baf fix(templates): do not replace a literal dot
resolves #2956
2022-10-17 20:21:18 +02:00
Jan De Dobbeleer 016dc50e72 fix(path): show separator for root drives
resolves #2954
2022-10-17 12:45:24 +02:00
Jan De Dobbeleer b5922ec0a4 fix(dependencies): update and fix gopsutil
closes #2947
2022-10-16 00:18:00 +02:00
Jan De Dobbeleer 3efa4df088 feat(palette): conditional palettes 2022-10-14 20:25:00 +02:00
Jan De Dobbeleer b533a27f21 fix(path): format root correctly 2022-10-14 08:46:14 +02:00
Jan De Dobbeleer 6bc0f888c2 fix(path): correct root on full style
resolves #2939
2022-10-14 08:46:14 +02:00
Jan De Dobbeleer 2cb5f24708 fix(path): correct path for env.DirIsWritable 2022-10-13 20:25:26 +02:00
Jan De Dobbeleer 9a98823166 fix(template): parse entire template
resolves #2937
2022-10-13 20:25:26 +02:00
Jan De Dobbeleer 040a73e0f0 feat(git): fetch remote on bare repo 2022-10-13 08:40:29 +02:00
Jan De Dobbeleer e0b28bd2c4 feat(git): disable bare repo's by default
relates to #2913
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer 5a57d6909d fix(template): parse temnplates correctly
resolves #2928
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer 6980cb55e7 feat: move default theme internally 2022-10-13 08:40:29 +02:00
Jan De Dobbeleer ac0ffec43a fix(path): remove duplicate logic
resolves #2923
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer e45cd7ea17 feat(git): display when in bare repo 2022-10-10 09:01:11 +02:00
Jan De Dobbeleer d4a3dbb721 chore: default to go 1.19 2022-10-07 21:38:26 +02:00
Jan De Dobbeleer 0f7806e19e chore(go): update dependencies 2022-10-07 16:35:57 +02:00
Jan De Dobbeleer 55ed6c9f58 fix(pwsh): delegate manual flag on init 2022-10-06 14:04:35 +02:00
Jan De Dobbeleer 8a9a022baa refactor(wifi): do not query all networks 2022-10-05 16:16:17 +02:00
LNK LEO 4b6b128d74 feat(connection): new segment
BREAKING CHANGE: this will need a manual migration from the wifi
segment to the new connection segment.
2022-10-05 16:16:17 +02:00
LNK LEO 63e20bf53c feat(rust): add beta/dev/nightly to version string 2022-10-05 13:26:37 +02:00
Jan De Dobbeleer a7a59b8b01 revert(language): do not error when not installed
this reverts commit f23968a39c
as this was an incorrect solution to #2880, it can stay as is
2022-10-05 08:41:33 +02:00
Jan De Dobbeleer 266fc5671f fix(python): do not validate empty env 2022-10-05 08:41:33 +02:00
Jan De Dobbeleer ee130605db fix(pwsh): move HOME on invalid directory
resolves #2873
2022-10-04 19:59:12 +02:00
Jan De Dobbeleer f23968a39c fix(language): do not error when not installed
resolves #2871
2022-10-04 19:59:12 +02:00
L. Yeung 5b6a3470d1 fix(path): parse path correctly 2022-10-04 06:50:07 +02:00
Jan De Dobbeleer 94a379b26a feat(init): toggle auto config state with flag
resolves #2848
2022-10-03 13:02:42 +02:00
Jan De Dobbeleer 2f0bd54087 feat(templates): only fallthrough when template is set
resolves #2859
2022-10-03 07:04:50 +02:00
Jan De Dobbeleer 9653506e34 fix(path): correct mapped_locations logic
resolves #2839
2022-09-27 12:01:25 +02:00
Jan De Dobbeleer 7c7ce069e0 fix(path): only replace actual home folder
resolves #2832
2022-09-26 09:54:51 +02:00
Jan De Dobbeleer 56ae9e6fda feat(az): parse pwsh context from module output
this fixes an issue where using multiple powershell sessions with a
different Azure context would display the same context everywhere when
using Set-AzContext to switch between them

BREAKING CHANGE: this requires adding `$env:POSH_AZURE_ENABLED = $true`
to your PowerShell profile if you want to get the correct context
displayed in your prompt for Azure powershell
2022-09-26 08:23:03 +02:00
Carl in 't Veld a16f18f9ec fix(az): config directory folder order 2022-09-26 08:23:03 +02:00
Jan De Dobbeleer 66a55991f1 feat(nu): update for 0.68.1
resolves #2756
2022-09-25 19:49:56 +02:00
Jan De Dobbeleer 25fa43c1d3 feat(template): add regex support
resolves #2823
2022-09-25 09:31:43 +02:00
Jan De Dobbeleer 19bb8f99b9 feat(deno): add deno.json
relates to #2764
2022-09-23 21:19:47 +02:00
Jan De Dobbeleer 17572d7f3f feat(context): allow context setting where possible
relates to #2776
2022-09-23 21:19:47 +02:00
Jan De Dobbeleer 4554d31168 fix(get): add shell flag
resolves #2821
2022-09-23 10:22:40 +02:00
Jan De Dobbeleer 2429d46435 fix(cmd): toggle tooltips
resolves #2815
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer babe425f3f fix(get): add shell 2022-09-23 08:46:12 +02:00
Jan De Dobbeleer b87a7f7da2 fix(poshgit): remove all references 2022-09-23 08:46:12 +02:00
Jan De Dobbeleer 1d244debed fix(gcp): correct path on Windows
resolves #2814
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer 7ea921351f feat(gcp): remove .Error
aligns the segment with az and aws, relates to #2810

BREAKING CHANGE: this removes the .Error field from the segment template
which means anyone with a custom template in the gcp segment needs to
remove it from their template. The new default template is:

`" {{ .Project }} "`
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer aecd8d6bfd feat(templates): segment alias
resolves #2811
2022-09-20 20:14:31 +02:00
Jan De Dobbeleer 0e25f1613c fix(gcp): align default template with az and aws
relates to #2810
2022-09-20 20:14:31 +02:00
Jan De Dobbeleer a7a7ebc662 fix(shell): return correct name for shims
resolves #2806
2022-09-18 19:40:26 +02:00
Jan De Dobbeleer c3c72b17b3 feat: deno segment
resolves #2764
2022-09-18 09:50:09 +02:00
L. Yeung 348cacc860 fix(pwsh): disable tooltips for ConstrainedLanguage mode 2022-09-17 17:49:57 +02:00
L. Yeung 7ebfc530fe fix(pwsh): disable transient prompt for ConstrainedLanguage mode 2022-09-17 10:27:06 +02:00
Jan De Dobbeleer 8d9fe9d3c8 fix(pwsh): ignore remove when in constrained language mode 2022-09-16 07:37:36 +02:00
Jan De Dobbeleer 4056729e8e feat(wsl): allow using native executable on shared drive
relates to #2097
2022-09-15 09:11:16 +02:00
Jan De Dobbeleer bb1235fe5d chore(go): bump dependencies 2022-09-14 08:49:42 +02:00
Jan De Dobbeleer 6bc6fa23aa fix(az): find config in all possible folders
resolves #2771
2022-09-12 19:40:31 +02:00
Jan De Dobbeleer 3ded4c00fc feat(posh-git): parse environment variable
BREAKING CHANGE: this removes the posh-git segment. To mitigate,
rename the posh-git segment to git.

In case you had a custom template, make sure to migrate to the git
segment's template. You can now also leverage the same logic and
properties as the git segment in both the text template and/or
color templates.
2022-09-07 18:04:41 +02:00
Jan De Dobbeleer 17f75fa1ff refactor(git): no leading space on branch status 2022-09-07 18:04:41 +02:00
Jan De Dobbeleer 8bab255361 chore: increase timeout for golangci-lint 2022-09-02 16:37:29 +02:00
Jan De Dobbeleer 52f4ae662d fix(ansi): return original text on [ only strings
resolves #2739
2022-09-02 16:37:29 +02:00
Jan De Dobbeleer 336f351b98 fix(link): allow multiple links in segment text 2022-09-02 10:04:22 +02:00
Jan De Dobbeleer 56a59a1b32 feat(git): add link to GitKraken 2022-09-02 10:04:22 +02:00
L. Yeung 5df8d89902 fix(path): map to default registry icon correctly 2022-09-01 11:02:14 +02:00
L. Yeung e5b3b00a43 fix(git): populate .Dir and .RepoName correctly 2022-09-01 11:02:14 +02:00
Jan De Dobbeleer 2a1fdffb73 fix(git): align git Dir with PWD 2022-08-31 12:06:48 +02:00
L. Yeung f04e22a5d1 fix(environment): check WSL shared path correctly 2022-08-30 15:25:40 +02:00
L. Yeung 0b77995d80 fix(scm): convert to Windows path with / instead of \ 2022-08-29 17:08:34 +02:00
L. Yeung 7e141fb5ec fix(environment): detect WSL shared path correctly 2022-08-29 10:57:12 +02:00
Jan De Dobbeleer c93d637128 fix(font): do not fail on non-admin for Windows 2022-08-29 08:27:31 +02:00
Jan De Dobbeleer 16d278ace3 refactor(font): do not notify on Windows
relates to #2690
2022-08-29 08:27:31 +02:00
Jan De Dobbeleer 8c7deb1ec2 chore(windows): remove asset files 2022-08-29 08:27:31 +02:00
Jan De Dobbeleer 4f9875a8bb fix(font): do not crash on enter
relates to #2690
2022-08-29 08:27:31 +02:00
Jan De Dobbeleer 4213be5190 fix(git): align .Dir with .PWD
no trailing /
2022-08-29 08:27:31 +02:00
Jan De Dobbeleer 199993b891 fix(wsl): only validate the mounted windows drive
resolves #2632
2022-08-28 18:59:10 +02:00
Jan De Dobbeleer 07eba99d6e feat(git): expose directory 2022-08-28 15:40:20 +02:00
L. Yeung c0935c87f2 fix(shell): escape special characters correctly 2022-08-28 08:35:54 +02:00
Jan De Dobbeleer dfae989782 fix(pwsh): escape backticks correctly 2022-08-27 21:56:30 +02:00
Jan De Dobbeleer eabe6b3a7a fix(bash): escape console title sequences
resolves #2702
2022-08-27 21:56:30 +02:00
Jan De Dobbeleer 4572a6a8b9 fix(fish): no transient on autosuggestion
resolves #2708
2022-08-27 21:56:30 +02:00
Jan De Dobbeleer 29c7a2751b feat(windows): manifest file 2022-08-26 22:28:26 +02:00
L. Yeung 2f4ebfc493 fix(nu): set initial execution time to 0 2022-08-25 07:46:06 +02:00
L. Yeung c120527696 fix(cmd): escape special characters in a tip 2022-08-23 11:13:28 +02:00
L. Yeung 4e25c7c1c9 feat(shell): perform cleanup for a new initialization 2022-08-22 18:57:01 +02:00
L. Yeung 8de89185e2 fix(cmd): do not evaluate execution time for an empty command 2022-08-20 18:37:24 +02:00
L. Yeung dbcfab3480 fix(pwsh): check presence of "posh-git" module 2022-08-18 17:24:35 +02:00
Jan De Dobbeleer 04f7528f55
fix(http): correct logic for authentication header 2022-08-18 08:50:56 +02:00
Stephen Judd f6ec503bbf
feat: add Google Cloud (gcp) segment 2022-08-17 18:12:18 +02:00
Jan De Dobbeleer 698cbc4135 fix(sysinfo): validate array before assignment
resolves #2672
2022-08-17 13:43:46 +02:00
Jan De Dobbeleer 32f1977bdc
feat(wakatime): parse url as template 2022-08-16 20:55:08 +02:00
Jan De Dobbeleer 5502acb585 feat(nx): show segment on nx.json presence 2022-08-13 13:41:28 +02:00
L. Yeung a64bc19698 fix(pwsh): pass --strict flag correctly in initialization 2022-08-10 16:27:34 +02:00
L. Yeung cc1850cfd1 revert(bash): use \001 and \002 as decoration wrapper
This reverts commit 4d1f8f4.
2022-08-10 13:21:00 +02:00
L. Yeung d5a8ec3285 fix(pwsh): set initial value for $script:ExecutionTime 2022-08-09 18:59:23 +02:00
L. Yeung 83c1af63b4 refactor(bash): simplify timer 2022-08-09 11:19:43 +02:00
Jan De Dobbeleer 3345017b2d fix(pwsh): validate execution time type
resolves #2633
2022-08-09 10:00:24 +02:00
Jan De Dobbeleer 4e992d48d1 fix(pwsh): set default value for ErrorCode
resolves #2633
2022-08-09 06:59:35 +02:00
L. Yeung db8eac7c5d fix(shell): quote paths properly in init scripts 2022-08-09 06:59:35 +02:00
Jan De Dobbeleer 210629fd26 feat: delete expired cache entries on init 2022-08-07 11:35:52 +02:00
Jan De Dobbeleer 929e460c4e refactor(ipify): use generic http request 2022-08-05 22:26:27 +02:00