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
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
Jan De Dobbeleer
9214b88475
feat(shell): add version
...
resolves #2108
2022-04-20 19:24:47 +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
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
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
lnu
39a272af76
fix(path): agnoster unc path on windows
2022-04-07 09:25:56 +02:00
Jan De Dobbeleer
303793632b
fix: sync DirMatchesOneOf
...
relates to 2038
2022-04-06 10:19:47 +02:00
Jan De Dobbeleer
923155e253
fix(windows): better logs for window title
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
4b8d3adb39
feat(project): php support
...
resolves #2028
2022-04-04 19:06:20 +02:00
Hadron Collider
b61ec064dd
feat(project): cargo and poetry support
2022-04-01 11:54:33 +02:00
Jan De Dobbeleer
ee3b1127de
feat: move template to segment
2022-03-27 15:42:42 +02: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
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
jedwillick
2ff5b87f97
feat: adds r segment
2022-03-19 10:17:51 +01:00
Jan De Dobbeleer
10d56a8551
refactor(cli): migrate to cobra
2022-03-12 23:05:57 +01:00
Elio Struyf
458ac80935
feat: project segment
2022-03-12 22:08:32 +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
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
jedwillick
60ec1c6768
feat(kotlin): adds kotlin segment
2022-03-01 10:15:21 +01:00
mansur
be60b64585
fix: set .Mismatch flag for node segment
2022-02-28 15:51:08 +01:00
Jacek W
882e541b96
feat: cloud foundry target segment
2022-02-22 20:05:40 +01:00
Jan De Dobbeleer
3d4fc5b6dd
chore: remove typo
...
resolves #1787
2022-02-19 19:23:56 +01:00
Jan De Dobbeleer
3efb979053
fix(az): fetch path from AZURE_CONFIG_DIR
...
resolves #1775
2022-02-18 19:56:16 +01:00
Jacek W
b10b8dc2f0
feat: cloud foundry segment
2022-02-17 12:58:20 +01:00
Jacek W
b47e057f14
feat: UI5 tooling segment
2022-02-14 07:41:33 +00:00
Jan De Dobbeleer
f6232deaf8
fix: only disable battery in WSL1
...
resolves #1736
2022-02-09 17:51:09 +01:00
Jan De Dobbeleer
b3d9981eec
feat(terraform): add version information
...
resolves #1455
2022-02-09 14:39:50 +01:00
Jan De Dobbeleer
d1bd686674
feat(path): unique letters style
...
resolves #1663
2022-02-09 10:46:15 +01:00
JedWillick
2046dcefeb
feat(haskell): add haskell segment
2022-02-08 19:56:30 +01:00
lnu
632e495141
fix(battery): disable for WSL
...
charge_full_design and charge_full does not exists in WSL
2022-02-07 14:51:47 +01:00
Jan De Dobbeleer
7a60418297
feat(sysinfo): add disks
...
resolves #1710
2022-02-06 14:10:41 +01:00
Chris Donnelly
06e08074fe
fix(git): detect when upstream no longer exists
...
Currently the git segment does not detect when an upstream is removed
(e.g., a PR is merged and the remote branch is deleted).
This change adds functionality to detect when upstream is removed;
if the status reports "branch.upstream" but no "branch.ab", it is gone.
The UI has also been changed to reflect this third state;
it now matches posh-git's behavior, which only shows the Gone icon
if an upstream branch is set but does not report ahead/behind counts.
2022-02-04 19:14:27 +01:00
Jan De Dobbeleer
696bdda00a
feat: support laravel in php
...
resolves #1171
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer
08f7a6a17e
feat: support vue.js in node
...
resolves #1171
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer
6b6aec43d5
fix: migrate text correctly
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
83980a3dff
feat: deprecate pre- and postfix
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
b4292e2e50
docs: add template information
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0373d2c507
feat(config): migrate deprecated keys
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
9e7abe4541
refactor: move segments to module
2022-02-03 10:44:18 +01:00