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
Osman Halacoglu
4093b79649
fix: grammar
...
You can now _Palette references_ > You can now use _Palette references_
2022-08-02 08:38:27 +02:00
Jan De Dobbeleer
89cdd5ce0d
docs: update docusaurus
2022-08-01 21:17:35 +02:00
Jan De Dobbeleer
79e76c8f3f
feat(path): get parent folder
2022-08-01 07:36:28 +02:00
Jan De Dobbeleer
19a5c65aa1
docs(nu): correct config variable
2022-08-01 07:36:28 +02:00
bendn
ff4ff26e3a
theme(glowsticks): request timeout
2022-07-31 15:55:38 +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
e36f2c1691
chore: build with go 1.18.4
2022-07-29 08:51:50 +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
1899896c6d
docs: adjust fonts for readability
2022-07-27 13:25:53 +02:00
Jan De Dobbeleer
9a18590107
docs: adjust colors with correct class
2022-07-27 13:25:53 +02:00
Jan De Dobbeleer
ca38108af2
docs: update docusaurus
2022-07-27 13:25:53 +02:00
allcontributors[bot]
637def37d6
docs: update .all-contributorsrc [skip ci]
2022-07-27 07:48:25 +02:00
allcontributors[bot]
314eb7d9de
docs: update website/docs/contributors.md [skip ci]
2022-07-27 07:48:25 +02:00
Craig Peters
908295a5a7
docs: add codespaces badge
2022-07-27 07:48:00 +02:00
bendn
766e84c964
theme(glowsticks): include console title
2022-07-27 07:41:10 +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
Yau~
0a79f9764c
theme: add sim-web
2022-07-27 07:25:25 +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
000602f28a
docs(transient): correct description about enabling for CMD
2022-07-25 20:59:42 +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
Walter Woshid
210e9918de
theme: add Gruvbox
2022-07-24 08:45:53 +02:00
bendn
1cb3b811d0
theme: add glowsticks
2022-07-24 08:44:51 +02:00
Barry Dorrans
eb5f0a12ff
theme: powerline only agnoster style
2022-07-24 08:43:06 +02:00
Whole Space
2ea5019025
theme: add wholespace
2022-07-24 08:39:29 +02:00
Kamil Kras
4e99d184f6
theme: add cobalt2
2022-07-24 08:38:01 +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
7e35ff4fbc
fix(oauth): correct expires_in data type
2022-07-21 10:47:16 +02:00
dependabot[bot]
df8011fc88
chore(deps): bump terser from 5.14.1 to 5.14.2 in /website
...
Bumps [terser](https://github.com/terser/terser ) from 5.14.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 09:06:31 +02:00