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
Jan De Dobbeleer
cccb502989
refactor: do generic http request
2022-08-05 22:26:27 +02:00
eduardo
e307b2f706
feat(ipfy): add offline response
2022-08-05 12:59:55 +02:00
Jan De Dobbeleer
5f063e80f3
chore(lint): nolint should be written without leading space
2022-08-05 08:38:17 +02:00
Jan De Dobbeleer
35efd3cf00
feat: remove functions to enable prompt features
2022-08-05 08:38:17 +02:00
Jan De Dobbeleer
4d1f8f4ea0
refactor(bash): use \001 and \002 as decoration wrapper
2022-08-05 08:38:17 +02:00
Piotr Kalinowski
a2533c8f5b
fix(git): better cross-platform path resolution and tests
...
The simple filepath.IsAbs() is not enough on Windows, where the relative
path may start with a separator and should then be taken relative to the
volume name.
So, introduce resolveGitPath() helper function that will do the right
thing on both Windows and other systems. As a bonus, it returns paths
converted to slashes for ease of use with the rest of the git segment:
- Git for Windows uses only slashes.
- Slashes do work as a path separator on Windows anyway.
- Some tests in git segment still use (and rightfully so) slashes.
Add tests for resolveGitPath() on both types of systems and fix
TestEnableInWorktree using a system-dependent testing constant as a root
path.
2022-08-03 18:20:00 +02:00
Piotr Kalinowski
3895210ab3
fix(git): further fixes for submodule worktrees
...
filepath.Join() just concatenates paths. We have to check manually for
an absolute path and discard the first component to end up with the
correct path.
Also, fix the tests to demonstrate actual behaviour of git, not what
filepath.Join() was doing.
Additionally, note that on Windows git paths in gitdir use unix
separators, so search for `/worktrees/` instead of using system
separator, just like when processing all the other cases.
2022-08-03 18:20:00 +02:00
Jan De Dobbeleer
d678265607
chore(font): execute HTTP requests with context
2022-08-03 18:03:04 +02:00
Jan De Dobbeleer
47265b1bc1
fix(path): map Parent correctly
2022-08-03 18:03:04 +02:00
Jan De Dobbeleer
18e23f93a8
chore: rename platform variables
2022-08-03 18:03:04 +02:00
Jan De Dobbeleer
d5f87c81be
feat: store template cache and reuse for extra prompts
...
resolves #2605
2022-08-03 18:03:04 +02:00
Jan De Dobbeleer
79e76c8f3f
feat(path): get parent folder
2022-08-01 07:36:28 +02:00
Jan De Dobbeleer
9238f3adbf
feat(owm): correct data type for temperature
...
resolves #2591
2022-07-29 13:44:38 +02:00
lnu
69856f4464
fix(ansi): correct osc7 typo
...
extra \ removed
2022-07-29 09:49:27 +02:00
Jan De Dobbeleer
7d0ac0a930
fix(ansi): correct osc7 format
...
relates to #2515
2022-07-29 08:51:50 +02:00
L. Yeung
95b0f99906
fix(pwsh): prevent text from disappearing when a tooltip is rendered
2022-07-28 18:47:08 +02:00
L. Yeung
01164cfcc9
feat(tooltip): make .Code
property available
2022-07-28 13:27:47 +02:00
L. Yeung
0895aca72e
fix(pwsh): tweak the workaround for transient prompt
2022-07-28 12:47:01 +02:00
L. Yeung
6723cba4b2
refactor(pwsh): unify logic of generating prompts
2022-07-28 12:47:01 +02:00
Jan De Dobbeleer
c22d0d67be
fix(python): do not clear virtualenv in pyenv
...
resolves #2582
2022-07-28 08:04:37 +02:00
Jan De Dobbeleer
69ac542b42
refactor(shell): remove double log statement
...
relates to #2556
2022-07-27 07:37:36 +02:00
Jan De Dobbeleer
0bdad6fa95
fix(language): do not fail on first error
...
resolves #2569
2022-07-27 07:37:36 +02:00
Jan De Dobbeleer
fe2e5fd1d3
fix(osc7): correct format
...
relates to #2515
2022-07-26 08:34:01 +02:00
Jan De Dobbeleer
b5b35d1456
fix(python): do not stop at pyenv fail
...
adds more logging for #2569
2022-07-26 07:36:25 +02:00
L. Yeung
4eedd5aafa
fix(pwsh): clear suggestion list buffer when rendering transient
2022-07-25 20:59:42 +02:00
L. Yeung
c5e77f8790
fix(pwsh): run command corretly in Constrained Language mode
2022-07-25 06:46:00 +02:00
L. Yeung
767e8e7bcf
fix(pwsh): run command corretly in Constrained Language mode
2022-07-23 23:01:55 +02:00
Jan De Dobbeleer
729858377b
fix(withings): calculate total sleep time
2022-07-22 20:46:56 +02:00
Jan De Dobbeleer
7029013fd8
fix(withings): pick today's steps
2022-07-22 20:46:56 +02:00
Jan De Dobbeleer
8426f81e71
feat(executiontime): add galvestonms
...
resolves #2494
2022-07-21 13:43:02 +02:00
Jan De Dobbeleer
a4ef99acdb
feat(command): run script
...
resolves #2556
2022-07-21 10:47:16 +02:00
Jan De Dobbeleer
b34f8bbbf3
fix(withings): remove parallel execution
...
resolves #2551
2022-07-21 10:47:16 +02:00
Jan De Dobbeleer
70484b2e0c
fix(battery): fix Windows deadlock
...
resolves #2549
2022-07-20 17:08:43 +02:00
jedwillick
f37e5767c2
feat: add lua segment
2022-07-20 12:42:44 +02:00
jedwillick
4f48c2b0d1
feat(language): expose executable and allow different URL templates
2022-07-20 12:42:44 +02:00
Jan De Dobbeleer
2ec6b085fd
feat: withings segment
2022-07-20 07:40:51 +02:00
Jan De Dobbeleer
e5bf5db9c2
refactor: extract OAuth logic
2022-07-20 07:40:51 +02:00
Kushal-Chandar
3a8907c48e
feat(segment): added cmake segment
2022-07-15 13:38:34 +02:00
Jan De Dobbeleer
f2ccee6df6
fix(git): support submodules woth worktrees
...
resolves #2514
2022-07-14 20:18:45 +02:00
Jan De Dobbeleer
859fd0bbef
feat: add osc7 support
...
resolves #2515
2022-07-13 13:59:21 +02:00
Jan De Dobbeleer
375a901ca0
docs(withings): correct url
2022-07-12 20:53:09 +02:00
Jan De Dobbeleer
b4d82c6037
fix(template): provide template as name
2022-07-12 11:16:09 +02:00
Jan De Dobbeleer
aee16fd62c
fix(pwsh): validate on first char for debug
...
resolves #2502
2022-07-11 08:50:21 +02:00
Jan De Dobbeleer
27edeedeaf
fix(pwsh): debug prompt logic
...
resolves #2483
2022-07-10 13:34:18 +02:00
Michael Carman
43fee03fcb
feat: perl segment
2022-07-08 12:21:08 +02:00
Jan De Dobbeleer
24d2ef4767
feat(templates): advanced templates logic
...
resolves #2491
2022-07-08 12:09:22 +02:00
Jan De Dobbeleer
17857db340
feat: include battery lib
...
resolves #2479
2022-07-05 21:13:25 +02:00
L. Yeung
253c71e0cf
fix(fish): get correct error code
2022-07-05 08:50:37 +02:00
L. Yeung
65192cb065
fix(text): improve effective text width measuring
2022-07-03 19:01:33 +02:00
Jan De Dobbeleer
9f9b91e566
feat: deprecate offset properties
2022-07-03 11:00:30 +02:00
Floris Westerman
003382b6fd
fix(fish): clear after cursor for next prompt
...
resolves #2467
2022-07-02 08:51:39 +02:00
Floris Westerman
47ad3a3eb8
fix(fish): support abbreviations with tooltips
...
resolves #2469
2022-07-02 08:30:56 +02:00
Jan De Dobbeleer
b304fa30b5
feat(go): update dependencies
2022-07-01 21:48:09 +02:00
Jan De Dobbeleer
44bf72f730
fix(clipboard): replace clipboard with own fork
2022-07-01 20:16:55 +02:00
Jan De Dobbeleer
345ac2dae7
revert(pwsh): remove clear line hack
...
this reverts commit 75cf1b2005
.
2022-07-01 17:20:12 +02:00
Jan De Dobbeleer
37a4c3eb4e
feat(git): expose repo name
2022-07-01 13:19:06 +02:00
Jan De Dobbeleer
75cf1b2005
fix(pwsh): remove clear line hack
...
relates to #65
2022-07-01 08:27:56 +02:00
Jan De Dobbeleer
718ce22682
feat(git): set ignore-submodules flag
...
resolves #2455
2022-06-30 18:13:08 +02:00
Jan De Dobbeleer
dc851fcf53
feat(git): override untracked mode for all repo's
...
resolves #2454
2022-06-30 18:13:08 +02:00
Jan De Dobbeleer
0b0f119420
fix(template): allow literal dot word
2022-06-29 08:21:19 +02:00
Jan De Dobbeleer
f403db826f
feat: hide/break right aligned block on overflow
...
resolves #2442
2022-06-27 19:48:00 +02:00
Jan De Dobbeleer
d6b56de4c1
fix(pwsh): allow ConstrainedLanguage mode
...
relates to #2369
2022-06-25 20:10:18 +02:00
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
Brandon Ewing
b3b5267605
feat(python): support pyenv .python-version files
...
Pyenv will use .python-version files up the file heirarchy when
determining the active Python version or virtual environment to use
based on which folder your shell is in. This change will read the file,
and if the first line does not look like a Python version, set the Venv
to that string for display.
This feature is gated behind the `use_python_version_file` Property
2022-04-19 22:45:21 +02:00
Jan De Dobbeleer
6c36e9adf3
fix(cmd): set as last filter priority
...
resolves #2104
2022-04-17 20:24:57 +02:00
Jan De Dobbeleer
40470f7d22
fix: sync Pwd()
...
relates to #2038
2022-04-16 21:37:39 +02:00
Jan De Dobbeleer
2b4b1a8618
fix(bash): correct escape sequence for blink
...
resolves #2101
2022-04-16 21:25:43 +02:00
Jan De Dobbeleer
fb698dd20a
feat(project): display nuspec information
...
resolves #2098
2022-04-16 21:25:43 +02:00
Jan De Dobbeleer
0cd8bfe6b6
refactor: list entire directory content
2022-04-16 21:25:43 +02:00
Jan De Dobbeleer
cf6c7b230d
fix(pwsh): count prompt lines correctly
...
resolves #2081
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
3fcd4c52b1
fix(pwsh): use correct workdir for any location
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
5e02063323
feat: add accordion segment style
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
23c2c383fe
fix(posh-git): evaluate to true
2022-04-15 23:46:48 +02:00
Jan De Dobbeleer
746b9ad77e
revert(posh-git): add switch to avoid calling git status
...
resolves #2086
2022-04-15 21:21:16 +02:00
L. Yeung
00cab2e568
fix(zsh): escape hyperlinks correctly
2022-04-14 21:25:50 +02:00
L. Yeung
0c7afaa7f7
fix(git): detect upstream-gone status correctly
2022-04-14 08:38:07 +02:00
lnu
09735e7ccc
feat(git): --separate-git-dir support
2022-04-11 22:37:19 +02:00
Jan De Dobbeleer
ebce0f30f5
feat: init for Nushell
2022-04-10 19:52:08 +02:00
lnu
a31d718fcb
fix(pwsh): call convert-path before setting workingdirectory
...
Only for FileSystem psprovider
2022-04-07 09:25:56 +02:00
lnu
39a272af76
fix(path): agnoster unc path on windows
2022-04-07 09:25:56 +02:00
Jan De Dobbeleer
e840e406c7
fix: recover crashing function
...
relates to #2038
2022-04-07 07:38:44 +02:00
Jan De Dobbeleer
f937f28545
refactor: align debug functionality cross shell
2022-04-07 07:38:44 +02:00
lnu
3a15594410
fix(pwsh): set working directory when starting process
2022-04-06 10:50:46 +02:00
lnu
f754826eb5
fix(project): fully qualified project path
...
fix an issue with pwsh reading the file from users home instead of cwd
2022-04-06 10:50:46 +02:00
Jan De Dobbeleer
303793632b
fix: sync DirMatchesOneOf
...
relates to 2038
2022-04-06 10:19:47 +02:00
Jan De Dobbeleer
be06c89627
fix(spotify): ignore errors
...
resolves #2031
2022-04-05 21:20:21 +02:00
Jan De Dobbeleer
46992bc7e0
fix(pwsh): write debug correctly
2022-04-05 19:48:07 +02:00
Jan De Dobbeleer
3c438218bd
feat(debug): log file related information
...
relates to #2033
2022-04-05 13:39:00 +02:00
Jan De Dobbeleer
2604d02a37
chore: remove commented out code
2022-04-05 13:39:00 +02:00
Jan De Dobbeleer
835b80d9bf
fix(spotify): check error presence before handling
...
relates to #2031
2022-04-05 13:16:17 +02:00
Jan De Dobbeleer
f9efe17da3
fix(fish): re-render rprompt when no tooltip
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
923155e253
fix(windows): better logs for window title
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
ce8bfece2d
fix(env): log error on window title
2022-04-04 19:15:37 +02:00
Jan De Dobbeleer
4b8d3adb39
feat(project): php support
...
resolves #2028
2022-04-04 19:06:20 +02:00
Jan De Dobbeleer
e4a60aa070
fix(fish): escape known sequences
2022-04-04 12:39:24 +02:00
Jan De Dobbeleer
ba94d5b584
fix: measure hyperlinks correctly
2022-04-03 20:44:23 +02:00
Jan De Dobbeleer
8db4d47e45
fix: correct escape sequence replacement
2022-04-03 20:44:23 +02:00
L. Yeung
961c4db31b
fix(cli): avoid panicking when no argument is given ( #2024 )
2022-04-03 07:44:05 +02:00
Hadron Collider
b61ec064dd
feat(project): cargo and poetry support
2022-04-01 11:54:33 +02:00
Jan De Dobbeleer
af7db43889
fix(pwsh): do not tweak posh-git prompt settings
2022-03-31 22:37:10 +02:00
Jan De Dobbeleer
749eb6cf26
feat: enable posh-git on $GitPromptSettings.EnablePromptStatus
...
relates to https://github.com/dahlbyk/posh-git/issues/883
2022-03-31 20:06:20 +02:00
Jan De Dobbeleer
c7b681a2b5
fix(pwsh): trim trailing backslash from paths
...
relates to #2009
2022-03-31 07:23:01 +02:00
Jan De Dobbeleer
f466f919e3
fix(pwsh): do not trim output
...
resolves #2010
2022-03-31 07:23:01 +02:00
Jan De Dobbeleer
61897b78ef
refactor(pwsh): print stderr separately
2022-03-30 22:59:15 +02:00
Jan De Dobbeleer
d77e824585
fix(pwsh): export Start-Utf8Process as global
2022-03-30 22:59:15 +02:00
Jan De Dobbeleer
d823b55e90
feat: remove forced UTF8
...
relates to #576
2022-03-30 19:17:41 +02:00
Jan De Dobbeleer
60349d4bc4
feat: update dependencies
2022-03-29 20:47:45 +02:00
Jan De Dobbeleer
6d20c9a135
feat: build darwin arm64
2022-03-29 19:46:23 +02:00
Jan De Dobbeleer
32879eb990
fix(fish): escape hyperlinks correctly
2022-03-29 19:46:23 +02:00
Jan De Dobbeleer
60fd1d08eb
fix: only migrate when version is lower
...
resolves #1998
2022-03-28 06:44:10 +02:00
Jan De Dobbeleer
b225c0ad39
refactor: remove ExtraPrompt
2022-03-27 15:42:42 +02:00
Jan De Dobbeleer
ee3b1127de
feat: move template to segment
2022-03-27 15:42:42 +02:00
Jan De Dobbeleer
5711e431a4
feat(pwsh): move Set-PoshContext to global variable scope
...
resolves #1988
2022-03-27 10:09:20 +02:00
mattcargile
13aa6c2b99
feat: add prefix to omp.ps1 prompt variables
...
"OMP" string added to `$global:ERRORCODE` and
`$global:EXECUTIONTIME` variables within the init
script for powershell (e.g. omp.ps1 )
2022-03-27 09:43:13 +02:00
Jan De Dobbeleer
ee4c4dfe34
fix(fish): export POSH_THEME as env var
2022-03-27 09:37:23 +02:00
mattcargile
533f3ccaa1
docs: remove cache-path
from help get
usage
2022-03-27 08:08:42 +02:00
Jan De Dobbeleer
112043f805
feat: simpler cli interface
2022-03-25 19:08:29 +01:00
Jan De Dobbeleer
f9c160b937
fix: adjust golangci-lint for go1.18
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
79035aafa9
fix: initialize extra prompt when nil
...
resolves #1979
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
035134a79a
refactor: download config on new version only
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
8b5c2a35ca
feat(transient): color template support
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
e1a1febc79
feat(pwsh): expose errorcode to transient prompt
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
143074e0a7
feat(fish): transient prompt
2022-03-23 19:53:59 +01:00
Jan De Dobbeleer
340c851743
feat(fish): tooltip support
2022-03-23 19:53:59 +01:00
lnu
0d9eaa2a09
fix(language): version url templates fix
...
dotnet + node + npm + php + python
url helper: returns plain text if url is empty instead of failing
2022-03-23 10:35:52 +01:00
Jan De Dobbeleer
19b8cf2cf8
fix(pwsh): replace double qoutes in command
...
resolves #1963
2022-03-22 07:56:06 +01:00
Jan De Dobbeleer
3c0c350564
refactor: separate shell init
2022-03-22 07:56:06 +01:00
Jan De Dobbeleer
c1bdd735be
fix(yaml): do not escape glyphs
...
resolves #1959
2022-03-21 20:54:12 +01:00
Jan De Dobbeleer
f4fa7a4166
feat(az): add user type
...
resolves #1957
2022-03-21 16:12:19 +01:00
Jan De Dobbeleer
744764a05e
fix(spotify): parse web player correctly
2022-03-21 15:25:24 +01:00
Jan De Dobbeleer
98e0039200
feat: upgrade to go 1.18
2022-03-21 15:25:24 +01:00
David De Sloovere
f8246059dc
fix(cli): adjust typos in help text
2022-03-21 06:56:03 +01:00
lnu
96df24789d
fix(cli): check for empty args(cache/get)
2022-03-21 06:48:46 +01:00
Jan De Dobbeleer
465f074f70
feat(cli): add edit commands
2022-03-19 19:56:27 +01:00
Jan De Dobbeleer
4f50517784
feat(cli): add cache
2022-03-19 19:56:27 +01:00
Jan De Dobbeleer
255c9baebf
chore(debug): log http response
2022-03-19 19:56:27 +01:00
L. Yeung
0f489ec88e
fix(wsl): get correct distro name
2022-03-19 13:05:58 +01:00
jedwillick
2ff5b87f97
feat: adds r segment
2022-03-19 10:17:51 +01:00
Jan De Dobbeleer
af6cea5d5b
chore(linter): adjust initialization for revive
2022-03-19 10:13:45 +01:00
Jan De Dobbeleer
906ce85d5b
feat(cli): export theme to a file
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
f0c5ace9b5
fix(config): print error correctly in eval
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
c8068b9cb1
refactor: do not silence errors on config sync
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
0ec78b991c
feat: add default theme
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
75e90329f4
feat: initialize shell with default remote config
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
d11c39b620
feat(pwsh): debug prompt
2022-03-16 17:26:40 +01:00
Jan De Dobbeleer
6e3c1af164
refactor(cli): isolate debug command
2022-03-16 17:26:40 +01:00
Olaf Alders
0f5b10d90e
docs: distinguish between "setup" (noun) and "set up" (verb) in docs
2022-03-16 09:08:20 +01:00
Jan De Dobbeleer
fd479809da
fix(poshgit): disable prompt
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
d4fbbaebb3
fix(title): trim ansi
...
resolves #1922
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
096cb8e997
feat: remove console title style
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
dcc2080047
fix(config): handle yaml correctly on yml extension
2022-03-14 12:46:26 +01:00
Jan De Dobbeleer
b4c44ea8d1
fix(migrate): do not trigger auto migration
2022-03-14 12:46:26 +01:00
Jan De Dobbeleer
a64a041c86
chore: remove post- and prefix references
...
relates to #1916
2022-03-13 20:24:49 +01:00
Jan De Dobbeleer
35c76bdf75
fix(cli): revert to previous flag names
...
relates to #1913
2022-03-13 07:57:35 +01:00
Jan De Dobbeleer
0bd957fc76
fix(cli): version info compatibility
...
resolves #1911
2022-03-13 07:57:35 +01:00
Jan De Dobbeleer
10d56a8551
refactor(cli): migrate to cobra
2022-03-12 23:05:57 +01:00
Jan De Dobbeleer
11da129799
fix: don't panic when env is empty
...
resolves #1907
2022-03-12 23:05:57 +01:00
Elio Struyf
458ac80935
feat: project segment
2022-03-12 22:08:32 +01:00
Jan De Dobbeleer
62c1581e03
fix(zsh): adjust prompt commands to standard
2022-03-11 19:37:54 +01:00
Elio Struyf
1e3937f5f2
feat: npm segment
2022-03-10 22:09:30 +01:00
Jan De Dobbeleer
1b81e085e9
feat(az): allow switching between subscription source
...
relates to #1562
2022-03-09 14:01:16 +01:00
Jacek W
f2a8cbe990
feat: cds segment
2022-03-09 10:10:55 +01:00
Jan De Dobbeleer
f7d33b1deb
fix: async prompt for cmd
2022-03-08 07:48:43 +01:00
Jan De Dobbeleer
0d366149b9
feat: query all window titles for app info
...
resolves #1354
2022-03-06 19:28:35 +01:00
jedwillick
e075f76718
feat: add hide root to agnoster short
2022-03-05 13:12:49 +01:00
jedwillick
9cb0775b25
feat(swift): add swift segment
2022-03-03 08:00:14 +01:00
jedwillick
db52fcd198
fix: typo in numerous version url templates
2022-03-03 07:56:09 +01:00