L. Yeung
dbcfab3480
fix(pwsh): check presence of "posh-git" module
2022-08-18 17:24:35 +02:00
Jan De Dobbeleer
08eb57bf96
docs(wakatime): seconds is a float
...
resolves #2679
2022-08-18 15:18:49 +02:00
Lawrence M
d100a7e55b
theme(slim): remove session segment for default user
2022-08-18 08:57:18 +02:00
Jan De Dobbeleer
04f7528f55
fix(http): correct logic for authentication header
2022-08-18 08:50:56 +02:00
allcontributors[bot]
53e5fad486
docs: update .all-contributorsrc [skip ci]
2022-08-17 18:13:06 +02:00
allcontributors[bot]
abde156f66
docs: update website/docs/contributors.md [skip ci]
2022-08-17 18:13:06 +02:00
Stephen Judd
f6ec503bbf
feat: add Google Cloud (gcp) segment
2022-08-17 18:12:18 +02:00
Hector Frohlich Cortez
87cdb75e29
theme(froczh): fix angular segment template
2022-08-17 15:13:30 +02:00
Jan De Dobbeleer
698cbc4135
fix(sysinfo): validate array before assignment
...
resolves #2672
2022-08-17 13:43:46 +02:00
Hector Frohlich Cortez
d2e50e9c87
theme: add froczh
2022-08-17 08:27:44 +02:00
Jan De Dobbeleer
bdf447cc21
theme(schema): add value type indicator for timeouts
...
relates to #2662
2022-08-16 21:34:19 +02:00
Jan De Dobbeleer
32f1977bdc
feat(wakatime): parse url as template
2022-08-16 20:55:08 +02:00
Jan De Dobbeleer
70008eccab
docs(install): add next steps
2022-08-14 19:58:54 +02:00
Rahat Hosen
c59439fe80
theme: add multiverse-neon
2022-08-14 19:57:51 +02:00
Sebastian Zanoni
85842d3c95
docs(git): adapt git segment property documentation
2022-08-13 13:44:52 +02:00
Jan De Dobbeleer
5502acb585
feat(nx): show segment on nx.json presence
2022-08-13 13:41:28 +02:00
Timothy Huber
45237c956c
theme(tiwahu): mapped shell
and new nu
prompt
...
- Mapping for `shell` shell (used in theme example image gen, I guess)
- New `nu` shell prompt (so I can tell the difference)
2022-08-12 08:00:30 +02:00
Timothy Huber
b4de8b182a
theme(tiwahu): shell-specific final prompt chars
...
- Final characters in prompt based on current shell name.
2022-08-11 14:02:38 +02:00
L. Yeung
94d6e75ffa
docs(faq): correct a heading level
2022-08-10 16:27:34 +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
2eceffc91b
docs: tweak tips, cautions and warnings
2022-08-10 13:21:00 +02:00
L. Yeung
b19316a0ee
docs(nu): add tip on init using OMP installed via Homebrew
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
allcontributors[bot]
43c13c1762
docs: update .all-contributorsrc [skip ci]
2022-08-09 17:44:55 +02:00
allcontributors[bot]
3b29979f29
docs: update website/docs/contributors.md [skip ci]
2022-08-09 17:44:55 +02:00
Dongyu Li
053e1ab6aa
theme(huvix): remove extra {} from executiontime template
2022-08-09 17:42:59 +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
L. Yeung
2ed2c038af
docs(customize): correct environment variable name
2022-08-07 21:19:50 +02:00
L. Yeung
0575e6d78d
docs(nushell): revise descriptions about init
2022-08-07 21:19:50 +02:00
Jan De Dobbeleer
4f594f19b1
docs(executiontime): add .FormattedMs to example
...
resolves #2626
2022-08-07 13:02:46 +02:00
Jan De Dobbeleer
5e1849d82e
docs: clarify use of --config
2022-08-07 11:35:52 +02:00
Jan De Dobbeleer
210629fd26
feat: delete expired cache entries on init
2022-08-07 11:35:52 +02:00
L. Yeung
f47c30d2df
theme(festivetech): remove {{ .Command }}
from transient template
2022-08-07 08:00:17 +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
Nico Glas
64231a790f
docs: fixed typo in node.mdx
...
Documentation for the Node segment had a tiny typo
2022-08-05 14:48:57 +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