Jan De Dobbeleer
c03ee35107
feat(node): export expected version
...
resolves #3576
2023-03-13 08:14:27 +01:00
Jan De Dobbeleer
8d92c87e05
fix(docker): only check the DOCKER_CONFIG path when relevant
...
relates to #3549
2023-03-12 14:07:41 +01:00
Janrey Licas
e438c8d61e
fix(wakatime)!: rename Cummulative
to Cumulative
2023-03-11 10:05:29 +01:00
Jan De Dobbeleer
5beac7b8fb
feat(sapling): add commit description field
2023-03-05 15:14:03 +01:00
Jan De Dobbeleer
5ec65ab373
feat: add docker segment
...
resolves #3549
2023-03-05 14:45:28 +01:00
Jan De Dobbeleer
ecf765191b
chore: build with go1.20.1
2023-03-04 17:19:49 +01:00
Colt
a97100f936
perf(unity): implement faster C# version lookups
2023-03-04 08:29:47 +01:00
Colt
8ac08ad9e9
fix(unity): output corrupt with CRLF line ending
2023-02-28 16:34:33 +01:00
Colt
1ceba7d603
feat: add Unity segment
2023-02-26 14:37:37 +00:00
Jan De Dobbeleer
23148ea823
fix(windows): use GlobalMemoryStatusEx for memory
...
resolves #3272
resolves #3514
2023-02-19 16:35:13 +01:00
jan De Dobbeleer
dd32018836
feat: add sapling segment
2023-02-16 15:24:19 +01:00
Jan De Dobbeleer
19ced2699d
fix(git): parse SSH URL's more reliably
...
resolves #3472
2023-02-09 07:44:43 +01:00
Jan De Dobbeleer
565f53b117
fix(fish): do not use the iTerm segment
2023-02-05 21:51:16 +01:00
Jan De Dobbeleer
51fd45dc60
feat(git): allow to exclude repo's from status fetching
2023-01-26 19:58:31 +01:00
Jan De Dobbeleer
07118352f6
fix(git): parse git@ url's correctly
2023-01-21 09:40:28 +01:00
Jan De Dobbeleer
ca57311ef5
feat: add buf segment
2023-01-21 09:40:28 +01:00
Jan De Dobbeleer
25b29bc5bd
fix(git): clean ssh remote url correctly
...
resolves #3378
2023-01-20 21:41:16 +01:00
Jan De Dobbeleer
19e0efc1fc
fix(git): do not process remote when empty
...
resolves #3377
2023-01-20 21:41:16 +01:00
Jan De Dobbeleer
3ef7f1b481
chore(logs): pretty logs
2023-01-17 10:56:12 +01:00
Jan De Dobbeleer
8d8f2b8497
fix(git): fallback to origin for remote URL
...
resolves #3364
2023-01-14 11:03:34 +01:00
Jan De Dobbeleer
1df98df6a6
feat(git): fallback to origin for remote url
...
relates to #3355
2023-01-12 15:16:26 +01:00
Jan De Dobbeleer
4f83452e84
fix(hyperlink): use unique format to avoid conflicts
...
BREAKING CHANGE: this can cause existing manual hyperlinks
(`[text](link)`) to stop working. To fix, change those to
the following syntax: `«text»(link)`
resolves #3353
2023-01-12 10:01:16 +01:00
David Courtney
822b7c755e
feat: add mercurial segment
2023-01-11 15:25:11 +01:00
David Hrdlička
caa2481589
fix(elixir): match on *.exs
files too
...
the `.exs` file extension is used for Elixir scripts, this also
includes project files and tests in Mix projects
2023-01-10 19:41:38 +01:00
Jan De Dobbeleer
6ca3d22b80
fix: adjust Azure DevOps icon
...
relates to #3336
2023-01-10 13:54:51 +01:00
Jan De Dobbeleer
a2353d93e7
feat: add vala segment
...
resolves #3329
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
2751a243ef
feat: add elixir segment
...
resolves #3314
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
39594b0d34
fix(spotify): parse information correctly for PWA on Windows
...
resolves #3310
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
b8c09f92ab
feat(git): add commit information
...
resolves #3331
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
62a1bf96da
feat(git): allow adding own remote icons
...
resolves #3300
2023-01-06 08:14:05 +01:00
Jan De Dobbeleer
6f8733eacd
refactor(git): use map for upstream icons
2023-01-06 08:14:05 +01:00
maxlandon
02c557f42e
refactor(go): adapt imports for go.mod consistency
2023-01-06 07:48:14 +01:00
Jan De Dobbeleer
005445b9fe
refactor(ansi): rewrite ansi and writer
2023-01-05 17:54:32 +01:00
L. Yeung
a3ef56f7fa
fix(python): set home_enabled
to false
by default
2022-12-29 11:28:01 +01:00
Jan De Dobbeleer
023546fe37
chore(go): rename module
2022-12-28 20:17:59 +01:00
Jan De Dobbeleer
60664e245a
feat(git): remove stash and worktree count from template
...
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer
07206e5aae
feat(project): add always_enabled and project type
2022-12-27 15:53:31 +01:00
Jan De Dobbeleer
2f1bf39253
feat(svn): exclude branch info from fetch_status
...
resolves #3252
2022-12-27 15:53:31 +01:00
Michael Carman
d9f59272f2
feat(svn): add counting of untracked files; don't default to counting as "unmerged"
2022-12-25 20:32:19 +01:00
Jan De Dobbeleer
2dc8dab25b
feat(template): print actual error
...
relates to #3218
2022-12-18 15:02:57 +01:00
David Anthoff
f965dc49aa
feat(project): add support for Julia
2022-12-18 14:55:57 +01:00
Jan De Dobbeleer
fc80a8e11d
fix(path): ignore empty root in full path
...
resolves #2962
2022-12-07 06:42:56 +01:00
Jan De Dobbeleer
a1801f717c
chore(path): add home tests for mapped locations
2022-12-06 20:30:40 +01:00
Lemorz56
acd4d01d4d
feat: add gitversion segment
2022-11-30 12:51:08 +01:00
Jan De Dobbeleer
b9dd5c18a8
feat(path): add RootDir property
...
relates to #3103
2022-11-28 20:38:43 +01:00
Jan De Dobbeleer
35edf3a93d
fix(path): use relative on empty root
...
relates to #2962
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer
3bc9e83814
feat(os): support opensuse tumbleweed
...
resolves #3127
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer
c8fb6322eb
feat(os): support for alma and rocky linux
...
resolves #3101
2022-11-25 13:37:21 +01:00
Gerben Welter
636a5e29fc
feat(os): add Redhat icon
2022-11-22 20:38:30 +01:00
Jan De Dobbeleer
59c1c3f7ba
refactor(debug): extract log from platform
2022-11-21 19:29:46 +01:00
Jan De Dobbeleer
54672cefdf
feat(path): allow templates in mapped_locations
...
resolves #3084
2022-11-16 09:20:43 +01:00
Jan De Dobbeleer
18f6db017a
chore: rename environment to platform
2022-11-11 20:23:52 +01:00
Romain Chardiny
ae4f8133ca
feat(segment): add xmake
2022-11-05 20:10:01 +01:00
Jan De Dobbeleer
c156d17577
feat(path): replace child locations
...
relates to #2962
2022-11-04 21:03:36 +01:00
Oleksandr Babieiev
7ae14646d7
feat(project): enhance project segment with .NET
2022-10-27 13:55:27 +02:00
Jan De Dobbeleer
f74855fc3c
fix(path): fallback to env.Pwd() for .Location
...
resolves #3010
2022-10-24 20:23:41 +02:00
Jan De Dobbeleer
0e6cc95a0b
fix(rust): optional version metadata
...
resolves #3001
2022-10-23 14:39:27 +02:00
Jan De Dobbeleer
e4d58213ec
fix(path): use correct path for WSL conversion
2022-10-19 12:04:05 +02:00
Jan De Dobbeleer
6db3c8cfc2
feat(language): missing version info in .Error
...
resolves #2957
2022-10-18 20:06:16 +02:00
Jan De Dobbeleer
016dc50e72
fix(path): show separator for root drives
...
resolves #2954
2022-10-17 12:45:24 +02:00
Jan De Dobbeleer
b533a27f21
fix(path): format root correctly
2022-10-14 08:46:14 +02:00
Jan De Dobbeleer
6bc0f888c2
fix(path): correct root on full style
...
resolves #2939
2022-10-14 08:46:14 +02:00
Jan De Dobbeleer
2cb5f24708
fix(path): correct path for env.DirIsWritable
2022-10-13 20:25:26 +02:00
Jan De Dobbeleer
040a73e0f0
feat(git): fetch remote on bare repo
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer
e0b28bd2c4
feat(git): disable bare repo's by default
...
relates to #2913
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer
ac0ffec43a
fix(path): remove duplicate logic
...
resolves #2923
2022-10-13 08:40:29 +02:00
Jan De Dobbeleer
e45cd7ea17
feat(git): display when in bare repo
2022-10-10 09:01:11 +02:00
Jan De Dobbeleer
d4a3dbb721
chore: default to go 1.19
2022-10-07 21:38:26 +02:00
LNK LEO
4b6b128d74
feat(connection): new segment
...
BREAKING CHANGE: this will need a manual migration from the wifi
segment to the new connection segment.
2022-10-05 16:16:17 +02:00
LNK LEO
63e20bf53c
feat(rust): add beta/dev/nightly to version string
2022-10-05 13:26:37 +02:00
Jan De Dobbeleer
a7a59b8b01
revert(language): do not error when not installed
...
this reverts commit f23968a39c
as this was an incorrect solution to #2880 , it can stay as is
2022-10-05 08:41:33 +02:00
Jan De Dobbeleer
266fc5671f
fix(python): do not validate empty env
2022-10-05 08:41:33 +02:00
Jan De Dobbeleer
f23968a39c
fix(language): do not error when not installed
...
resolves #2871
2022-10-04 19:59:12 +02:00
L. Yeung
5b6a3470d1
fix(path): parse path correctly
2022-10-04 06:50:07 +02:00
Jan De Dobbeleer
9653506e34
fix(path): correct mapped_locations logic
...
resolves #2839
2022-09-27 12:01:25 +02:00
Jan De Dobbeleer
7c7ce069e0
fix(path): only replace actual home folder
...
resolves #2832
2022-09-26 09:54:51 +02:00
Jan De Dobbeleer
56ae9e6fda
feat(az): parse pwsh context from module output
...
this fixes an issue where using multiple powershell sessions with a
different Azure context would display the same context everywhere when
using Set-AzContext to switch between them
BREAKING CHANGE: this requires adding `$env:POSH_AZURE_ENABLED = $true`
to your PowerShell profile if you want to get the correct context
displayed in your prompt for Azure powershell
2022-09-26 08:23:03 +02:00
Carl in 't Veld
a16f18f9ec
fix(az): config directory folder order
2022-09-26 08:23:03 +02:00
Jan De Dobbeleer
19bb8f99b9
feat(deno): add deno.json
...
relates to #2764
2022-09-23 21:19:47 +02:00
Jan De Dobbeleer
1d244debed
fix(gcp): correct path on Windows
...
resolves #2814
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer
7ea921351f
feat(gcp): remove .Error
...
aligns the segment with az and aws, relates to #2810
BREAKING CHANGE: this removes the .Error field from the segment template
which means anyone with a custom template in the gcp segment needs to
remove it from their template. The new default template is:
`" {{ .Project }} "`
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer
0e25f1613c
fix(gcp): align default template with az and aws
...
relates to #2810
2022-09-20 20:14:31 +02:00
Jan De Dobbeleer
c3c72b17b3
feat: deno segment
...
resolves #2764
2022-09-18 09:50:09 +02:00
Jan De Dobbeleer
4056729e8e
feat(wsl): allow using native executable on shared drive
...
relates to #2097
2022-09-15 09:11:16 +02:00
Jan De Dobbeleer
6bc6fa23aa
fix(az): find config in all possible folders
...
resolves #2771
2022-09-12 19:40:31 +02:00
Jan De Dobbeleer
3ded4c00fc
feat(posh-git): parse environment variable
...
BREAKING CHANGE: this removes the posh-git segment. To mitigate,
rename the posh-git segment to git.
In case you had a custom template, make sure to migrate to the git
segment's template. You can now also leverage the same logic and
properties as the git segment in both the text template and/or
color templates.
2022-09-07 18:04:41 +02:00
Jan De Dobbeleer
17f75fa1ff
refactor(git): no leading space on branch status
2022-09-07 18:04:41 +02:00
Jan De Dobbeleer
56a59a1b32
feat(git): add link to GitKraken
2022-09-02 10:04:22 +02:00
L. Yeung
5df8d89902
fix(path): map to default registry icon correctly
2022-09-01 11:02:14 +02:00
L. Yeung
e5b3b00a43
fix(git): populate .Dir
and .RepoName
correctly
2022-09-01 11:02:14 +02:00
Jan De Dobbeleer
2a1fdffb73
fix(git): align git Dir with PWD
2022-08-31 12:06:48 +02:00
L. Yeung
0b77995d80
fix(scm): convert to Windows path with /
instead of \
2022-08-29 17:08:34 +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
07eba99d6e
feat(git): expose directory
2022-08-28 15:40:20 +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
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
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
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
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
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
0bdad6fa95
fix(language): do not fail on first error
...
resolves #2569
2022-07-27 07:37:36 +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
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
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
375a901ca0
docs(withings): correct url
2022-07-12 20:53:09 +02:00
Michael Carman
43fee03fcb
feat: perl segment
2022-07-08 12:21:08 +02:00
Jan De Dobbeleer
17857db340
feat: include battery lib
...
resolves #2479
2022-07-05 21:13:25 +02:00
Jan De Dobbeleer
37a4c3eb4e
feat(git): expose repo name
2022-07-01 13:19:06 +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
c59c876b87
fix(az): do not use env var for module
...
resolves #2436
2022-06-25 19:47:16 +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
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
evanfuture
a4e8bc1b60
feat: nx segment
2022-05-27 17:52:08 +02:00
Jan De Dobbeleer
c729788676
feat: flutter segment
...
resolves #2310
2022-05-24 10:31:40 +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
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
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
Jan De Dobbeleer
e392ab667d
feat(battery): decouple not charging from discharging
...
resolves #2237
2022-05-10 07:44:03 +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
482c997413
feat: reference segments properties cross segment
...
resolves #2208
2022-05-06 12:28:48 +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
Jan De Dobbeleer
5bf0c7687a
refactor(battery): move logic to environment
2022-04-24 17:29:22 +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