Commit graph

839 commits

Author SHA1 Message Date
Jan De Dobbeleer c59c876b87 fix(az): do not use env var for module
resolves #2436
2022-06-25 19:47:16 +02:00
Jan De Dobbeleer a1a20e7c86 revert(pwsh): check history id instead of command line
this reverts commit e041c23fe1

resolves #2431
2022-06-22 08:18:59 +02:00
Jan De Dobbeleer 82b83d1fa4 feat: support 256 colors
resolves #2429
2022-06-22 08:18:59 +02:00
L. Yeung cf8ce5e4dd fix(pwsh): do not print transient prompt on a ReadLine parsing error 2022-06-21 06:07:50 +02:00
L. Yeung 6bd8921119 fix(cmd): escape double quote characters in a tip 2022-06-17 16:21:23 +02:00
Jan De Dobbeleer d8b979ec3b fix(bash): escape rprompt entirely
closes #2398
2022-06-16 19:38:12 +02:00
Jan De Dobbeleer 992add9a78 refactor: remove shell name from plain init 2022-06-16 19:38:12 +02:00
L. Yeung 820e28c85c feat(cmd): align tooltip behaviors 2022-06-12 16:50:59 +02:00
Jan De Dobbeleer ad12ad8ed2 feat(font): support URL's
resolves #2400
2022-06-10 14:10:45 +02:00
Jan De Dobbeleer 0dbe5f2aa4 fix(font): provide feedback when installing
relates to #2338
2022-06-10 14:10:45 +02:00
Jan De Dobbeleer 265790659c fix(font): install correctly on Windows 2022-06-08 20:08:52 +02:00
Jan De Dobbeleer c301864021 fix(font): remove --font 2022-06-07 07:52:35 +02:00
Jan De Dobbeleer 9b17c483a8 feat: install font directly
relates to #2338
2022-06-07 07:25:19 +02:00
Jan De Dobbeleer b22dd21fa5 feat(winreg): additional value support 2022-06-07 07:09:32 +02:00
Jan De Dobbeleer d1501a6211 feat: fossil segment
resolves #2373
2022-06-05 16:41:35 +02:00
L. Yeung eb91390a46 fix(cli): correct help text for font subcommand 2022-06-04 08:28:12 +02:00
Jan De Dobbeleer 0a46189556 fix(font): animate spinner 2022-06-03 22:29:49 +02:00
Jan De Dobbeleer 1fba9d563c feat(cli): install font
relates to #2338
2022-06-03 16:36:00 +02:00
Jan De Dobbeleer 56987bf63a fix(git): add untracked to status
relates to #2349
2022-05-30 20:15:22 +02:00
Jan De Dobbeleer 8bcbe02510 fix(git): add untracked
resolves #2349
2022-05-30 08:59:22 +02:00
Dave Moor a9c1292d83 feat: add svn segment 2022-05-30 08:59:22 +02:00
Jan De Dobbeleer 42be6ab608 fix(accent): get correct accent color on Windows 2022-05-29 00:39:02 +02:00
evanfuture a4e8bc1b60 feat: nx segment 2022-05-27 17:52:08 +02:00
L. Yeung 2230e2b695 fix(pwsh): avoid Test-Path error on "no config" 2022-05-27 15:41:28 +02:00
Jan De Dobbeleer e41304ae44 fix(properties): parse int64 correctly
resolves #2334
2022-05-27 10:28:31 +02:00
Jan De Dobbeleer 74b8a094e7 fix(pwsh): export outside functions as global
relates to #2318
2022-05-25 20:33:27 +02:00
Jan De Dobbeleer b6ac0b3904 fix(cmd): expose error in transient prompt
resolves #2327
2022-05-25 13:17:18 +02:00
Jan De Dobbeleer f3737cd91d fix(pwsh): move functions before module declaration
relates to #2318
2022-05-25 06:12:08 +02:00
Jan De Dobbeleer c729788676 feat: flutter segment
resolves #2310
2022-05-24 10:31:40 +02:00
Jan De Dobbeleer 7eff25cddc fix(image): do not break on overline
relates to #2312
2022-05-23 08:29:57 +02:00
Ajay Mehta 9e13f1bba1
fix(pwsh): default stack count to 0 2022-05-22 22:08:21 +02:00
Jan De Dobbeleer 3279821d0b feat(cli): get accent color 2022-05-22 19:31:15 +02:00
Jan De Dobbeleer eb11aa9081 fix(pwsh): get stack count correctly 2022-05-22 12:08:49 +02:00
Jan De Dobbeleer a51716d5ac feat(windows): accent color 2022-05-22 10:36:10 +02:00
Jan De Dobbeleer 37dd466adf feat: support overline 2022-05-20 21:59:41 +02:00
L. Yeung b3b4f473b5 feat(zsh): trigger a tip check only on a space key input 2022-05-20 18:00:17 +02:00
L. Yeung f84dac27e2 fix(pwsh): detect debug context correctly 2022-05-20 06:54:00 +02:00
Jan De Dobbeleer 467428f514 fix(zsh): reintroduce self_insert for tooltips
resolves #2289
2022-05-19 20:36:12 +02:00
Jan De Dobbeleer 8c43438340 fix(az): validate config dir before continuing
resolves #2280
2022-05-17 08:54:30 +02:00
L. Yeung e041c23fe1 refactor(pwsh): check history id instead of command line 2022-05-16 18:08:43 +02:00
L. Yeung 0e4898d875 docs(segments): revise properties of language segments 2022-05-16 18:08:43 +02:00
Jan De Dobbeleer 48707504cd feat(path): add Writable
resolves #2269
2022-05-16 07:45:12 +02:00
Jan De Dobbeleer ba4968107f fix(fish): escape link text correctly 2022-05-16 07:05:22 +02:00
Jan De Dobbeleer ee56154231 feat: interactive prompt sequences 2022-05-16 07:05:22 +02:00
Jan De Dobbeleer 2553df51f9 refactor(text): escape segment text 2022-05-16 07:05:22 +02:00
Jan De Dobbeleer bc9f884e9c fix(bash): do not escape on Windows
resolves #2263
2022-05-13 15:39:59 +02:00
Jan De Dobbeleer 4888514d1c chore: update go dependencies 2022-05-13 08:46:25 +02:00
Jan De Dobbeleer 6462607178 feat(path): template for path separator 2022-05-12 20:49:37 +02:00
Jan De Dobbeleer 69ae95affc feat(debug): expose Log via environment 2022-05-12 20:49:37 +02:00
L. Yeung 9c5cc42622 fix(engine): render a non-empty tooltip only 2022-05-12 17:25:45 +02:00
Jan De Dobbeleer 8c9b6358b5 fix(bash): replace all single occurances of \ 2022-05-12 08:03:15 +02:00
Jan De Dobbeleer 6a7f03eb5b fix(cli): do not fail on invalid terminal width
resolves #2253
2022-05-11 18:57:44 +02:00
L. Yeung bf7bca4764 fix(migration): do not export Enabled field in a segment 2022-05-10 08:01:49 +02:00
L. Yeung 2d90ce7cbe fix(image): render background colors correctly 2022-05-10 08:01:49 +02:00
Jan De Dobbeleer ef5bb488c8 chore(lint): ignore unused properties 2022-05-10 07:44:03 +02:00
Jan De Dobbeleer e392ab667d feat(battery): decouple not charging from discharging
resolves #2237
2022-05-10 07:44:03 +02:00
Jan De Dobbeleer d7ccc20cf1 fix(pwsh): add shell value directly
relates to #2234
2022-05-08 19:34:17 +02:00
L. Yeung 88dec08685 feat(cmd): set POSH_THEME env in init script 2022-05-08 18:50:45 +02:00
L. Yeung b944db841e fix(debug): initialize ShellEnvironment.Version 2022-05-08 18:50:45 +02:00
Jan De Dobbeleer a940a109df fix(debug): init CmdFlags correctly
relates #2238
2022-05-08 08:22:36 +02:00
Jan De Dobbeleer e001534088 fix(debug): correct Trace logic
relates to #2238
2022-05-08 07:28:55 +02:00
Jan De Dobbeleer b5dab586d3 fix(debug): catch nil value on Trace
relates to #2238
2022-05-08 07:22:44 +02:00
Jan De Dobbeleer e3b2d86b06 fix(debug): trace startup logic 2022-05-07 16:50:31 +02:00
Jan De Dobbeleer a7b0021179 fix: correct debug logic
relates to #2234
2022-05-07 10:16:27 +02:00
Jan De Dobbeleer 5f19315a66 fix(r): parse 4.2.0 correctly
resolves #2229
2022-05-06 20:24:00 +02:00
Jan De Dobbeleer 1b32fa0f9a fix: color terminal background correctly
resolves #2215
2022-05-06 12:28:48 +02:00
Jan De Dobbeleer 482c997413 feat: reference segments properties cross segment
resolves #2208
2022-05-06 12:28:48 +02:00
L. Yeung 2e5fa3f1d2 feat(image): add -o, --output flag 2022-05-05 18:28:37 +02:00
L. Yeung 217b3c73c4 fix(cli): print error message only once 2022-05-05 18:28:37 +02:00
L. Yeung 07906b6a27 refactor(cli): adjust help text and argument validation 2022-05-05 18:28:37 +02:00
Mitchell O'Sullivan 1cd02cb77f feat: add property for available memory 2022-05-03 15:35:59 +02:00
Evan Hawman 4199bd809f feat: iTerm2 integration for MacOS & Theme
added docs

other changes

eliminated newline
2022-05-01 08:30:24 +02:00
Damian Edwards 62b97ff2e3 feat: dotnet section visible when *.slnf files present 2022-04-29 18:28:59 +02:00
L. Yeung 4c0db9e66e fix(config): do not resolve URL when download fails 2022-04-29 15:14:02 +02:00
Jan De Dobbeleer 64196fe6ad fix: override config on init
resolves #2180
2022-04-28 21:01:43 +02:00
Jan De Dobbeleer 49e8725f66 fix(pwsh): populate GitStatus correctly
Resolves #2178
2022-04-28 16:29:58 +02:00
Jan De Dobbeleer b338a36890 fix(windows): do not lock Home() 2022-04-27 22:58:00 +02:00
Jan De Dobbeleer d310ea6b89 fix: recover crashing function
relates to #2058
2022-04-27 21:30:24 +02:00
Jan De Dobbeleer 2b92304c77 fix(pwsh): validate existence of global variable 2022-04-27 21:30:24 +02:00
L. Yeung fccdfe5306 refactor: align tooltip behaviors 2022-04-27 20:21:08 +02:00
L. Yeung 9606d5a105 fix(pwsh): use more reliable native invocation
Rewrite logic of passing arguments in `Start-Utf8Process`:

- Use ArgumentList in PowerShell 6.1 and later.
- Use a manual escaping in lower versions.
2022-04-27 20:21:08 +02:00
Christiaan Rakowski 1f0ca23a48 fix: typo millies => millis 2022-04-27 07:39:19 +02:00
L. Yeung 4d048b2658 fix(pwsh): avoid deadlock in Start-Utf8Process
Resolves #2151
2022-04-26 20:22:40 +02:00
L. Yeung a9671df378 refactor(pwsh): use dynamic module for init 2022-04-26 20:22:40 +02:00
Jan De Dobbeleer a2f5016e77 fix(fish): escape all prompt sequences 2022-04-26 20:05:53 +02:00
L. Yeung 8d2dddb08d fix(shell): wrap path with single quotes 2022-04-26 12:22:55 +02:00
Jan De Dobbeleer 623fabcef3 fix(config): display default config on error 2022-04-25 09:55:51 +02:00
Jan De Dobbeleer 56af13e140 fix(env): correct logic for successful HTTP request
Resolves #2147
Resolves #2148
2022-04-25 09:55:51 +02:00
Jan De Dobbeleer 00aea0decd fix(pwsh): initialize globals before usage
resolves #2145
2022-04-25 07:09:51 +02:00
Jan De Dobbeleer fc55b5c463 fix(env): set correct default version 2022-04-24 17:29:22 +02:00
Jan De Dobbeleer fa68c13159 fix(env): do not succeed failed HTTP requests 2022-04-24 17:29:22 +02:00
Jan De Dobbeleer 07d6f747cb feat(darwin): manually parse battery info
resolves #2139
2022-04-24 17:29:22 +02:00
Jan De Dobbeleer 5bf0c7687a refactor(battery): move logic to environment 2022-04-24 17:29:22 +02:00
Jan De Dobbeleer 8e40cebf93 fix(windows): sync Home()
relates to #2058
2022-04-23 19:03:50 +02:00
Jan De Dobbeleer 8dcd200e3e feat(language): distinct files from folders
resolves #1938
2022-04-23 11:55:25 +02:00
Jan De Dobbeleer bcf7d59e83 feat(git): set untracked files mode
resolves #2117
2022-04-22 08:22:53 +02:00
Brandon Ewing 4faa73eb2d feat(python): real pyenv support
If `python` points at a pyenv shim, use `pyenv version-name` to
determine Python version and Venv information.
2022-04-21 22:48:09 +02:00
L. Yeung c37733e3ec refactor(pwsh): purify global scope and environment 2022-04-21 13:05:52 +02:00
Jan De Dobbeleer 9214b88475 feat(shell): add version
resolves #2108
2022-04-20 19:24:47 +02:00
Jan De Dobbeleer bb9b6197d5 feat: support rbash (strict mode)
resolves #2109
2022-04-20 07:09:09 +02:00