Jan De Dobbeleer
9e7abe4541
refactor: move segments to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
4e17e4a853
refactor: public interface for segments
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
59756813d3
refactor: naming standard for segments
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
bdd13cb32f
refactor: move properties logic to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
c86b7b62bc
refactor: move color logic to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
906ece2af9
refactor: move environment into it's own module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
f7a07c6b62
refactor(segments): string() to template()
...
moves templating engine to Segment
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0987cafad0
refactor: remove deprecated functionality
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
f5178e8c8c
feat: remove enable_hyperlink
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
b816a0bf70
feat: templates for all segments
2022-02-03 10:44:18 +01:00
lnu
d71b6e8e07
docs: powershell init sample updated
2022-01-27 12:12:58 +01:00
allcontributors[bot]
334fe6c145
docs: update .all-contributorsrc [skip ci]
2022-01-26 14:48:40 +01:00
allcontributors[bot]
7620882174
docs: update docs/docs/contributors.md [skip ci]
2022-01-26 14:48:40 +01:00
Mikolaj
6ffb9ffff0
docs: update docs/docs/install-shells.mdx [skip ci]
2022-01-26 14:47:31 +01:00
markbull
9a187c28b7
theme: update markbull
...
1. Add icon in "session" segment
2. Add "os" segment
3. Exchange "executiontime" and "exit" position
4. Always enable "executiontime" segment
5. Add icon in "executiontime" segment
2022-01-25 10:16:34 +01:00
allcontributors[bot]
38f9885387
docs: update .all-contributorsrc [skip ci]
2022-01-23 23:13:09 +01:00
allcontributors[bot]
ae6fdf9e56
docs: update docs/docs/contributors.md [skip ci]
2022-01-23 23:13:09 +01:00
Victoria
5588a32434
theme(nightowl): fix diamond colors
2022-01-23 23:12:00 +01:00
markbull
9955d9bbb8
theme: update markbull
...
1. Show the root/admin icon and the current folder name in console title
2. Update the background color of behind status in git segment
3. Update the git_icon, branch_identical_icon and branch_gone_icon in git segment
2022-01-23 09:36:37 +01:00
allcontributors[bot]
75b97387f6
docs: update .all-contributorsrc [skip ci]
2022-01-22 11:43:41 +01:00
allcontributors[bot]
5568f39424
docs: update docs/docs/contributors.md [skip ci]
2022-01-22 11:43:41 +01:00
FlavienMacquignon
df998f4331
theme: typo in schema
2022-01-22 11:41:38 +01:00
dependabot[bot]
81b1bc63fd
chore: bump nanoid from 3.1.23 to 3.2.0 in /docs
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 08:03:19 +01:00
sectorogo
1b59386ef7
theme(nu4a): mixed path and locations update
2022-01-21 12:56:14 +01:00
Jan De Dobbeleer
d75f6e30aa
fix: use debug for logging pwd
2022-01-20 14:33:23 +01:00
Jan De Dobbeleer
fc456da107
refactor: rename getcwd to pwd
2022-01-20 14:22:29 +01:00
Jan De Dobbeleer
6afa7711b2
feat: log directories on debug
...
relates to #1605
2022-01-20 14:22:29 +01:00
Jan De Dobbeleer
6c88285d64
fix(scoop): correct URL post installation
...
resolves #1617
2022-01-20 13:18:00 +01:00
Jan De Dobbeleer
8fca218a7d
feat(build): static build
2022-01-19 19:46:52 +01:00
Jan De Dobbeleer
06231cb08e
feat(windows): build 386 version of installer
2022-01-19 10:41:19 +01:00
Michael Guntsche
de60367d79
fix(env): remove defer on platform
...
This is a small fix to actually store the value. Arguments to defers are apparently
evaluated immediately so put it in an anonymous function.
2022-01-19 07:43:08 +01:00
Jan De Dobbeleer
ad297dbe08
fix: init cache first
2022-01-18 21:29:05 +01:00
Jan De Dobbeleer
0a09924685
fix(platform): store value in cache
...
resolves #1601
2022-01-18 21:08:26 +01:00
Jan De Dobbeleer
3cca2104bb
feat(cache): allow for non-expiring values
2022-01-18 21:08:26 +01:00
Jan De Dobbeleer
e5dd07fb9a
feat: cache template environment data
2022-01-18 20:14:47 +01:00
Jan De Dobbeleer
9e77d0f939
fix(template): support surrounding variables with braces
2022-01-18 20:14:47 +01:00
Jan De Dobbeleer
e6d4413ae7
feat: adjust var names for consistency
...
BREAKING CHANGE: adjusts the way some segment work for templates.
Mapping the var names as following will resolve the issue.
- session/title/general purpose
- .Host -> .HostName
- .User -> .UserName
- az
- .UserName -> .Name
- kubectl
- .UserName -> .User
2022-01-17 16:29:39 +01:00
lnu
115759f4d3
feat(debug): cache path added to debug
2022-01-16 21:21:00 +01:00
Jan De Dobbeleer
a56b90005f
fix(os): lowercase OS name
...
resolves #1593
2022-01-16 20:06:38 +01:00
Jan De Dobbeleer
f653fb46e5
chore: body placeholder for GH CLI
2022-01-16 18:22:40 +01:00
Jan De Dobbeleer
221f28afdd
feat(cli): print cache path
2022-01-16 18:22:40 +01:00
Jan De Dobbeleer
0332fbfebb
fix: create environ cache on init
2022-01-15 23:25:49 +01:00
Jan De Dobbeleer
dc50bd3546
fix(env): init environ cache
2022-01-15 23:08:47 +01:00
Jan De Dobbeleer
a200ee73ff
feat: add OS to template functionality
2022-01-15 21:38:06 +01:00
Jan De Dobbeleer
0404976b5c
refactor: remove the need for nil argument in mock
2022-01-15 21:38:06 +01:00
dependabot[bot]
badb2ffc5e
chore: bump shelljs from 0.8.4 to 0.8.5 in /docs
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 08:44:48 +01:00
allcontributors[bot]
adcb5df773
docs: update .all-contributorsrc [skip ci]
2022-01-14 22:51:42 +01:00
allcontributors[bot]
73a3c3baf3
docs: update docs/docs/contributors.md [skip ci]
2022-01-14 22:51:42 +01:00
Jan De Dobbeleer
d71422a35b
feat(git): add remote URL for hyperlink
2022-01-14 22:50:24 +01:00
Jan De Dobbeleer
37e96ef968
fix(pwsh): store the executable inside user HOME folder
2022-01-14 22:45:00 +01:00