L. Yeung
8d2dddb08d
fix(shell): wrap path with single quotes
2022-04-26 12:22:55 +02:00
Jan De Dobbeleer
623fabcef3
fix(config): display default config on error
2022-04-25 09:55:51 +02:00
Jan De Dobbeleer
56af13e140
fix(env): correct logic for successful HTTP request
...
Resolves #2147
Resolves #2148
2022-04-25 09:55:51 +02:00
Jan De Dobbeleer
00aea0decd
fix(pwsh): initialize globals before usage
...
resolves #2145
2022-04-25 07:09:51 +02:00
Jan De Dobbeleer
fc55b5c463
fix(env): set correct default version
2022-04-24 17:29:22 +02:00
Jan De Dobbeleer
fa68c13159
fix(env): do not succeed failed HTTP requests
2022-04-24 17:29:22 +02:00
Jan De Dobbeleer
07d6f747cb
feat(darwin): manually parse battery info
...
resolves #2139
2022-04-24 17:29:22 +02:00
Jan De Dobbeleer
5bf0c7687a
refactor(battery): move logic to environment
2022-04-24 17:29:22 +02:00
Jan De Dobbeleer
8e40cebf93
fix(windows): sync Home()
...
relates to #2058
2022-04-23 19:03:50 +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
L. Yeung
c37733e3ec
refactor(pwsh): purify global scope and environment
2022-04-21 13:05:52 +02:00
Jan De Dobbeleer
9214b88475
feat(shell): add version
...
resolves #2108
2022-04-20 19:24:47 +02:00
Jan De Dobbeleer
bb9b6197d5
feat: support rbash (strict mode)
...
resolves #2109
2022-04-20 07:09:09 +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
6c36e9adf3
fix(cmd): set as last filter priority
...
resolves #2104
2022-04-17 20:24:57 +02:00
Jan De Dobbeleer
40470f7d22
fix: sync Pwd()
...
relates to #2038
2022-04-16 21:37:39 +02:00
Jan De Dobbeleer
2b4b1a8618
fix(bash): correct escape sequence for blink
...
resolves #2101
2022-04-16 21:25:43 +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
Jan De Dobbeleer
cf6c7b230d
fix(pwsh): count prompt lines correctly
...
resolves #2081
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
3fcd4c52b1
fix(pwsh): use correct workdir for any location
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
5e02063323
feat: add accordion segment style
2022-04-16 13:21:19 +02:00
Jan De Dobbeleer
23c2c383fe
fix(posh-git): evaluate to true
2022-04-15 23:46:48 +02:00
Jan De Dobbeleer
746b9ad77e
revert(posh-git): add switch to avoid calling git status
...
resolves #2086
2022-04-15 21:21:16 +02:00
L. Yeung
00cab2e568
fix(zsh): escape hyperlinks correctly
2022-04-14 21:25:50 +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
Jan De Dobbeleer
ebce0f30f5
feat: init for Nushell
2022-04-10 19:52:08 +02:00
lnu
a31d718fcb
fix(pwsh): call convert-path before setting workingdirectory
...
Only for FileSystem psprovider
2022-04-07 09:25:56 +02:00
lnu
39a272af76
fix(path): agnoster unc path on windows
2022-04-07 09:25:56 +02:00
Jan De Dobbeleer
e840e406c7
fix: recover crashing function
...
relates to #2038
2022-04-07 07:38:44 +02:00
Jan De Dobbeleer
f937f28545
refactor: align debug functionality cross shell
2022-04-07 07:38:44 +02:00
lnu
3a15594410
fix(pwsh): set working directory when starting process
2022-04-06 10:50:46 +02:00
lnu
f754826eb5
fix(project): fully qualified project path
...
fix an issue with pwsh reading the file from users home instead of cwd
2022-04-06 10:50:46 +02:00
Jan De Dobbeleer
303793632b
fix: sync DirMatchesOneOf
...
relates to 2038
2022-04-06 10:19:47 +02:00
Jan De Dobbeleer
be06c89627
fix(spotify): ignore errors
...
resolves #2031
2022-04-05 21:20:21 +02:00
Jan De Dobbeleer
46992bc7e0
fix(pwsh): write debug correctly
2022-04-05 19:48:07 +02:00
Jan De Dobbeleer
3c438218bd
feat(debug): log file related information
...
relates to #2033
2022-04-05 13:39:00 +02:00
Jan De Dobbeleer
2604d02a37
chore: remove commented out code
2022-04-05 13:39:00 +02:00
Jan De Dobbeleer
835b80d9bf
fix(spotify): check error presence before handling
...
relates to #2031
2022-04-05 13:16:17 +02:00
Jan De Dobbeleer
f9efe17da3
fix(fish): re-render rprompt when no tooltip
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
923155e253
fix(windows): better logs for window title
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
ce8bfece2d
fix(env): log error on window title
2022-04-04 19:15:37 +02:00
Jan De Dobbeleer
4b8d3adb39
feat(project): php support
...
resolves #2028
2022-04-04 19:06:20 +02:00
Jan De Dobbeleer
e4a60aa070
fix(fish): escape known sequences
2022-04-04 12:39:24 +02:00
Jan De Dobbeleer
ba94d5b584
fix: measure hyperlinks correctly
2022-04-03 20:44:23 +02:00
Jan De Dobbeleer
8db4d47e45
fix: correct escape sequence replacement
2022-04-03 20:44:23 +02:00
L. Yeung
961c4db31b
fix(cli): avoid panicking when no argument is given ( #2024 )
2022-04-03 07:44:05 +02:00
Hadron Collider
b61ec064dd
feat(project): cargo and poetry support
2022-04-01 11:54:33 +02:00
Jan De Dobbeleer
af7db43889
fix(pwsh): do not tweak posh-git prompt settings
2022-03-31 22:37:10 +02:00
Jan De Dobbeleer
749eb6cf26
feat: enable posh-git on $GitPromptSettings.EnablePromptStatus
...
relates to https://github.com/dahlbyk/posh-git/issues/883
2022-03-31 20:06:20 +02:00
Jan De Dobbeleer
c7b681a2b5
fix(pwsh): trim trailing backslash from paths
...
relates to #2009
2022-03-31 07:23:01 +02:00
Jan De Dobbeleer
f466f919e3
fix(pwsh): do not trim output
...
resolves #2010
2022-03-31 07:23:01 +02:00
Jan De Dobbeleer
61897b78ef
refactor(pwsh): print stderr separately
2022-03-30 22:59:15 +02:00
Jan De Dobbeleer
d77e824585
fix(pwsh): export Start-Utf8Process as global
2022-03-30 22:59:15 +02:00
Jan De Dobbeleer
d823b55e90
feat: remove forced UTF8
...
relates to #576
2022-03-30 19:17:41 +02:00
Jan De Dobbeleer
60349d4bc4
feat: update dependencies
2022-03-29 20:47:45 +02:00
Jan De Dobbeleer
6d20c9a135
feat: build darwin arm64
2022-03-29 19:46:23 +02:00
Jan De Dobbeleer
32879eb990
fix(fish): escape hyperlinks correctly
2022-03-29 19:46:23 +02:00
Jan De Dobbeleer
60fd1d08eb
fix: only migrate when version is lower
...
resolves #1998
2022-03-28 06:44:10 +02:00
Jan De Dobbeleer
b225c0ad39
refactor: remove ExtraPrompt
2022-03-27 15:42:42 +02:00
Jan De Dobbeleer
ee3b1127de
feat: move template to segment
2022-03-27 15:42:42 +02:00
Jan De Dobbeleer
5711e431a4
feat(pwsh): move Set-PoshContext to global variable scope
...
resolves #1988
2022-03-27 10:09:20 +02:00
mattcargile
13aa6c2b99
feat: add prefix to omp.ps1 prompt variables
...
"OMP" string added to `$global:ERRORCODE` and
`$global:EXECUTIONTIME` variables within the init
script for powershell (e.g. omp.ps1 )
2022-03-27 09:43:13 +02:00
Jan De Dobbeleer
ee4c4dfe34
fix(fish): export POSH_THEME as env var
2022-03-27 09:37:23 +02:00
mattcargile
533f3ccaa1
docs: remove cache-path
from help get
usage
2022-03-27 08:08:42 +02:00
Jan De Dobbeleer
112043f805
feat: simpler cli interface
2022-03-25 19:08:29 +01:00
Jan De Dobbeleer
f9c160b937
fix: adjust golangci-lint for go1.18
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
79035aafa9
fix: initialize extra prompt when nil
...
resolves #1979
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
035134a79a
refactor: download config on new version only
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
8b5c2a35ca
feat(transient): color template support
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
e1a1febc79
feat(pwsh): expose errorcode to transient prompt
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
143074e0a7
feat(fish): transient prompt
2022-03-23 19:53:59 +01:00
Jan De Dobbeleer
340c851743
feat(fish): tooltip support
2022-03-23 19:53:59 +01: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
19b8cf2cf8
fix(pwsh): replace double qoutes in command
...
resolves #1963
2022-03-22 07:56:06 +01:00
Jan De Dobbeleer
3c0c350564
refactor: separate shell init
2022-03-22 07:56:06 +01:00
Jan De Dobbeleer
c1bdd735be
fix(yaml): do not escape glyphs
...
resolves #1959
2022-03-21 20:54:12 +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
David De Sloovere
f8246059dc
fix(cli): adjust typos in help text
2022-03-21 06:56:03 +01:00
lnu
96df24789d
fix(cli): check for empty args(cache/get)
2022-03-21 06:48:46 +01:00
Jan De Dobbeleer
465f074f70
feat(cli): add edit commands
2022-03-19 19:56:27 +01:00
Jan De Dobbeleer
4f50517784
feat(cli): add cache
2022-03-19 19:56:27 +01:00
Jan De Dobbeleer
255c9baebf
chore(debug): log http response
2022-03-19 19:56:27 +01:00
L. Yeung
0f489ec88e
fix(wsl): get correct distro name
2022-03-19 13:05:58 +01:00
jedwillick
2ff5b87f97
feat: adds r segment
2022-03-19 10:17:51 +01:00
Jan De Dobbeleer
af6cea5d5b
chore(linter): adjust initialization for revive
2022-03-19 10:13:45 +01:00
Jan De Dobbeleer
906ce85d5b
feat(cli): export theme to a file
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
f0c5ace9b5
fix(config): print error correctly in eval
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
c8068b9cb1
refactor: do not silence errors on config sync
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
0ec78b991c
feat: add default theme
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
75e90329f4
feat: initialize shell with default remote config
2022-03-18 13:55:38 +01:00
Jan De Dobbeleer
d11c39b620
feat(pwsh): debug prompt
2022-03-16 17:26:40 +01:00
Jan De Dobbeleer
6e3c1af164
refactor(cli): isolate debug command
2022-03-16 17:26:40 +01:00
Olaf Alders
0f5b10d90e
docs: distinguish between "setup" (noun) and "set up" (verb) in docs
2022-03-16 09:08:20 +01:00
Jan De Dobbeleer
fd479809da
fix(poshgit): disable prompt
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
d4fbbaebb3
fix(title): trim ansi
...
resolves #1922
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
096cb8e997
feat: remove console title style
2022-03-14 22:16:22 +01:00
Jan De Dobbeleer
dcc2080047
fix(config): handle yaml correctly on yml extension
2022-03-14 12:46:26 +01:00
Jan De Dobbeleer
b4c44ea8d1
fix(migrate): do not trigger auto migration
2022-03-14 12:46:26 +01:00
Jan De Dobbeleer
a64a041c86
chore: remove post- and prefix references
...
relates to #1916
2022-03-13 20:24:49 +01:00
Jan De Dobbeleer
35c76bdf75
fix(cli): revert to previous flag names
...
relates to #1913
2022-03-13 07:57:35 +01:00
Jan De Dobbeleer
0bd957fc76
fix(cli): version info compatibility
...
resolves #1911
2022-03-13 07:57:35 +01:00
Jan De Dobbeleer
10d56a8551
refactor(cli): migrate to cobra
2022-03-12 23:05:57 +01:00
Jan De Dobbeleer
11da129799
fix: don't panic when env is empty
...
resolves #1907
2022-03-12 23:05:57 +01:00
Elio Struyf
458ac80935
feat: project segment
2022-03-12 22:08:32 +01:00
Jan De Dobbeleer
62c1581e03
fix(zsh): adjust prompt commands to standard
2022-03-11 19:37:54 +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
f7d33b1deb
fix: async prompt for cmd
2022-03-08 07:48:43 +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
Jan De Dobbeleer
ee2b6e3f14
fix(cmd): use full executable path
...
relates to #1852
2022-03-02 13:10:57 +01:00
Jan De Dobbeleer
a3a9b17f1e
fix(cmd): insert executable name to avoid spaces in path
...
relates to #1852
2022-03-02 08:17:38 +01:00
Jan De Dobbeleer
d5da06e33d
refactor: remove redundant length property
2022-03-01 19:08:04 +01:00
jedwillick
60ec1c6768
feat(kotlin): adds kotlin segment
2022-03-01 10:15:21 +01:00
Jan De Dobbeleer
d6c60f992c
feat(template): expose glob as template function
2022-03-01 08:24:40 +01:00
Jan De Dobbeleer
18be8a37bf
fix(engine): only count non-space characters
...
resolves #1837
2022-02-28 18:43:40 +01:00
mansur
be60b64585
fix: set .Mismatch flag for node segment
2022-02-28 15:51:08 +01:00
Jan De Dobbeleer
2ccc88fd4b
refactor: join cache path correctly
2022-02-28 12:58:25 +01:00
Jan De Dobbeleer
df8a0fdf6d
feat(ansi): allow text decoration chaining
...
resolves #1818
2022-02-27 07:50:18 +01:00
Jan De Dobbeleer
f6d0b9e076
fix(migrate): map .ComputerName to .HostName
...
relates to #1815
2022-02-26 19:03:19 +01:00
Jan De Dobbeleer
d7e289b3bf
feat(ansi): add blink, reverse and dimmed
...
resolves #1813
2022-02-26 11:04:44 +01:00
Jan De Dobbeleer
5842b75158
fix: adjust flag rename correctly
2022-02-25 17:19:39 +01:00
Jan De Dobbeleer
38850141a5
chore(image): display relative url
2022-02-25 17:19:39 +01:00
Jan De Dobbeleer
e6fd50a48f
feat(init): remote config
2022-02-25 17:19:39 +01:00
Jacek W
882e541b96
feat: cloud foundry target segment
2022-02-22 20:05:40 +01:00
Jan De Dobbeleer
78038aa5aa
fix(init): escape path characters
...
resolves #1789
2022-02-20 16:13:00 +01:00
Jan De Dobbeleer
39dfca93c6
fix(migrate): correctly migrate exit segment
2022-02-20 16:13:00 +01:00
Jan De Dobbeleer
dec5691435
feat: secondary prompt
2022-02-20 14:01:04 +01:00
Jan De Dobbeleer
cb70ed4b41
feat(pwsh): support PromptText
2022-02-19 19:23:56 +01:00
Jan De Dobbeleer
3d4fc5b6dd
chore: remove typo
...
resolves #1787
2022-02-19 19:23:56 +01:00
Jan De Dobbeleer
e62482c56f
fix(cmd): return empty on error
...
resolves #1783
2022-02-19 14:39:26 +01:00
Jan De Dobbeleer
8c8f3e411d
refactor: use pointers to segment color
2022-02-19 14:39:26 +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
Jan De Dobbeleer
b4eadff3b6
fix(wsl): split distro name from version
...
resolves #1766
2022-02-17 12:54:44 +01:00
Jan De Dobbeleer
cc1da3f0ea
fix: migrate color_background correctly
...
resolves #1771
2022-02-17 12:54:44 +01:00
Jacek W
b47e057f14
feat: UI5 tooling segment
2022-02-14 07:41:33 +00:00
Jan De Dobbeleer
91ebe662bf
fix(zsh): do not provide PWD
...
resolves #1605
2022-02-13 18:59:33 +01:00
Jan De Dobbeleer
a0d4fc6cba
feat: colorise filler
2022-02-12 18:48:08 +01:00
Jan De Dobbeleer
d3d370309f
fix: strip ANSI from text before measure
...
resolves #1744
2022-02-11 20:55:14 +01:00
Jan De Dobbeleer
0a15720c74
chore(go): update dependencies
2022-02-10 20:02:23 +01:00
Jan De Dobbeleer
57d481c9b4
fix: parse error text when silent fail
...
resolves #1739
2022-02-10 19:48:08 +01: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
Zhizhen He
0b85aba8d8
fix: fix typo and remove redundant parentheses
2022-02-09 12:19:15 +01:00
Jan De Dobbeleer
d1bd686674
feat(path): unique letters style
...
resolves #1663
2022-02-09 10:46:15 +01:00
Jan De Dobbeleer
c7a446c081
fix(windows): safer logic for parsing app exec links
2022-02-08 20:23:57 +01:00
JedWillick
2046dcefeb
feat(haskell): add haskell segment
2022-02-08 19:56:30 +01:00
Jan De Dobbeleer
1e797acf77
feat(windows): support store app CLI tools
...
resolves #1703
2022-02-07 19:01:38 +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
8ce47273df
feat(cache): only write when dirty
2022-02-06 14:10:41 +01:00
Jan De Dobbeleer
7a60418297
feat(sysinfo): add disks
...
resolves #1710
2022-02-06 14:10:41 +01:00
Jan De Dobbeleer
4c4b97fa8b
fix: provide terminal width from CLI
2022-02-06 11:04:36 +01:00
Jan De Dobbeleer
8f3bfd674b
fix(manjaro): read lsb-release
...
relates to #1696
2022-02-06 11:04:36 +01:00
lnu
5daff6b934
fix: hyperlink regex updated
...
Issue when detecting and replacing text
2022-02-06 09:49:36 +01:00
Jan De Dobbeleer
c34ea9c8f5
fix: exclude link on measure
...
resolves #1691
2022-02-05 21:41:33 +01:00
Jan De Dobbeleer
d94a0db0a9
feat(os): support manjaro linux
...
resolves #1696
2022-02-05 20:37:48 +01:00
Jan De Dobbeleer
06291e168b
fix(migrate): replace .Text with .Meaning
...
resolves #1697
2022-02-05 09:44:47 +01:00
Jan De Dobbeleer
35aead22fc
fix(tooltip): set segment to active
...
resolves #1701
2022-02-05 09:44:47 +01:00
Jan De Dobbeleer
216541a4f8
refactor(image): count runes in string
2022-02-04 19:42:26 +01:00
Jan De Dobbeleer
aba4093aba
feat: filler between blocks
2022-02-04 19:42:26 +01:00
Jan De Dobbeleer
04e6579a8e
refactor: count length using written text
2022-02-04 19:42:26 +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
7dab387a11
fix: migrate console title template
...
relates to #1678
2022-02-04 09:13:04 +01:00
Jan De Dobbeleer
fddee51f70
fix: restore default config
2022-02-03 21:21:10 +01:00
Jan De Dobbeleer
e1a7f4e954
fix: populate temp cache before assignment
...
resolves #1673
2022-02-03 17:49:28 +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
e545b32896
fix: add platform to OS on linux
...
resolves #1639
2022-02-03 12:01:59 +01:00
Jan De Dobbeleer
b29ebcd058
chore: provide info for migrated config
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
a9d32a86d4
chore: rename migrations -> migrate
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0621d0d97a
chore: backup original config
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
6b6aec43d5
fix: migrate text correctly
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
a091e5c387
fix: migrate exit segment correctly
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
42f9747558
fix: do not insert color override in existing template
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
566240c0ed
fix: do not escape emoji
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
bfca351796
chore: do not auto migrate on manual switch
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
6fcae4207e
chore(migrate): backup config on migration
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0185299263
feat(config): auto migrate to 1
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
a5162b0f19
refactor(segment): cleaner logic
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
55ab413d6e
fix: do not render empty/whitespace segments
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
01bd42b3eb
fix(config): export glyphs correctly escaped
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
0e056cd50d
feat(template): hyperlink functions
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
e95e0d6b1b
fix(engine): allow template override
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
c94e5e6efb
chore(template): add tests for roundSeconds
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
eef50268a9
refactor(template): rename files
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
fee29f4b2e
refactor: move engine to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
c0f4b6d6f0
refactor: move title to module
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
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
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
8fca218a7d
feat(build): static build
2022-01-19 19:46:52 +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
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
Jan De Dobbeleer
d71422a35b
feat(git): add remote URL for hyperlink
2022-01-14 22:50:24 +01:00
Jan De Dobbeleer
2ea2e633b8
fix(az): map User to UserName
...
avoid collision with default .User in template
2022-01-14 08:51:53 +01:00
Jan De Dobbeleer
f1e21949bc
fix(cygwin): do not clean config path
2022-01-14 08:42:52 +01:00
Jan De Dobbeleer
4542e92940
fix(az): proper path fix
2022-01-13 22:39:45 +01:00
Jan De Dobbeleer
d45c51cccc
feat(az): display info origin
...
resolves #1562
2022-01-13 20:32:32 +01:00
Jan De Dobbeleer
b1c427abaa
fix(az): use platform specific folder
...
resolves #1567
2022-01-13 20:32:32 +01:00
Jan De Dobbeleer
f512df208a
feat: expose environment info to all templates
2022-01-13 20:15:04 +01:00
lnu
c687512fba
feat(strava): add hyperlink to activity
...
VirtualRide icon like Ride
Watts, HearRate, Kudos info
2022-01-11 12:15:39 +01:00
Jan De Dobbeleer
a36063a580
fix(strava): rename Icon
2022-01-10 22:17:57 +01:00
Lars Erik Finholt
d2bf556e94
feat(strava): new segment
2022-01-10 21:44:28 +01:00
Jan De Dobbeleer
88206ff9c9
refactor: rename doGet to HTTPRequest
2022-01-10 21:44:28 +01:00
Sam Debruyn
5a69b3e771
fix: change default az segment template
2022-01-06 20:14:29 +01:00
Jan De Dobbeleer
e1f50ef885
refactor: rename environmentInfo
2022-01-01 20:22:52 +01:00
Jan De Dobbeleer
29e019511a
refactor: move properties to interface
2022-01-01 20:22:52 +01:00
Jan De Dobbeleer
6d67b147e4
fix(config): do not resolve empty config
...
relates to https://github.com/JanDeDobbeleer/oh-my-posh/discussions/1518
2021-12-30 22:31:03 +01:00
Jan De Dobbeleer
9b15054378
refactor(main): move simple command up
2021-12-30 22:31:03 +01:00
Laurent Nullens
4960f8a2b7
fix(engine): osc99 support for windows terminal
...
wsl path conversion not needed anymore
2021-12-30 19:46:50 +01:00
Jan De Dobbeleer
7aaa7b110f
fix(config): resolve path for all shells
2021-12-30 15:51:31 +01:00
Jan De Dobbeleer
5549e0d7ad
fix(az): add user to exposed model for pwsh
2021-12-30 15:51:31 +01:00
Jan De Dobbeleer
ad5c77a61b
feat: parse azure config files
2021-12-29 16:58:06 +01:00
Jan De Dobbeleer
4ecf674e62
fix(git): return empty on error
2021-12-29 16:58:06 +01:00
Jan De Dobbeleer
e2a907e121
fix(template): do not replace words starting with .Env
2021-12-29 16:58:06 +01:00