Commit graph

144 commits

Author SHA1 Message Date
TravisTX 4597f158c4 perf(az): improve performance for az powershell 2021-04-06 15:35:18 +02:00
lnu bb6a90a867 feat: toml intellisense + recommended extensions for toml and yaml 2021-04-05 14:05:08 +02:00
Jan De Dobbeleer 8afadc0bcd feat: azure functions segment 2021-04-02 19:46:32 +02:00
Jan De Dobbeleer 64aa66eebc feat: cfg.TerminalBackground as template 2021-04-01 21:51:06 +02:00
Jan De Dobbeleer 447ca4bb94 refactor: remove redundant rectangle filler 2021-04-01 21:51:06 +02:00
lnu 513794af46 fix: adoptopenjdk 16 version parsing 2021-04-01 17:13:19 +02:00
TravisTX 85fb7611bc feat(az): clear envvars 2021-03-31 07:11:43 +02:00
Jan De Dobbeleer 57d49658ea feat(battery): use template to render segment 2021-03-28 16:22:29 +02:00
TravisTX 7db7f13e51 feat(az): support az pwsh module 2021-03-28 11:24:49 +02:00
Jan De Dobbeleer 1e53daa687 refactor: replace deprecated linter 2021-03-27 17:52:53 +01:00
Jan De Dobbeleer 320ec1d7d3 feat(pwsh): posh-git segment 2021-03-27 17:52:53 +01:00
Jan De Dobbeleer f90840e3ec fix(config): export JSON correctly
resolves #581
2021-03-27 13:49:31 +01:00
Jan De Dobbeleer 61cb33f4f9 fix(pwsh): map home dir on theme export 2021-03-27 13:49:31 +01:00
Jan De Dobbeleer 4c992e65b3 feat: dependency update 2021-03-27 13:49:31 +01:00
Jan De Dobbeleer 542ef2b73e feat(language): disable when at home
resolves #547
2021-03-22 20:15:52 +01:00
Jan De Dobbeleer 18c56efd2e feat: multiple config formats 2021-03-21 19:30:56 +01:00
lnu cd3f8742ad fix: escape double quotes for zsh prompt 2021-03-20 11:20:18 +01:00
lnu 494d3b2d20 fix: fish 3.2 empty command duration 2021-03-20 07:13:24 +01:00
lnu 838567cbcd feat: don't keep duration when no command is entered
pwsh and fish alignement
2021-03-19 19:49:27 +01:00
Luca Ercole 5f035f8855 fix: remove double invocation of --shell argument 2021-03-18 19:08:09 +01:00
Luca Ercole 8de004ff53 fix: preserve exit code in omp.bash
Other small changes include:

- rename functions to simplify debugging
- quoting some variables and simplifying an expression as suggested by shellcheck
- idempotency when modifying PROMPT_COMMAND.
- check if file exists before trying to remove it in the trap.
2021-03-18 18:50:53 +01:00
Jan De Dobbeleer e7cccf5978 fix: hardcode shell for init
resolves #540
2021-03-18 17:14:40 +01:00
Jan De Dobbeleer c185ebd09c feat(java): add segment 2021-03-18 17:14:40 +01:00
Jan De Dobbeleer d3252acf85 feat(path): correct drive root on Windows
resolves #534
2021-03-17 13:36:18 +01:00
lnu fcf1cc30bf feat: template for time segment
example with time

schema updated
2021-03-17 08:14:58 +01:00
Equinox 7b54e88c62 docs: fix various spelling errors 2021-03-15 18:11:16 +01:00
Jan De Dobbeleer ce5a9d6b76 feat(pwsh): force session to UTF8 2021-03-14 17:55:44 +01:00
Jan De Dobbeleer 6379982c3b fix: remove log statement 2021-03-14 15:17:46 +01:00
Jan De Dobbeleer e6247da593 feat: set terminal background color
relates to #529
relates to #322
relates to #497

Windors terminal and Visual Studio Code do not work well with inversted
ANSI sequences. This weak allows users to override the Tranparency to
the terminal background color removing black elements in their prompt.

Ideally we remove this once they are on par with other terminals, but
that could take a while.

See https://github.com/microsoft/vscode/issues/111762
and https://github.com/microsoft/terminal/issues/7014
2021-03-14 14:25:27 +01:00
TravisTX d570673127 fix(git): status colors without display status 2021-03-13 18:32:11 +01:00
Jan De Dobbeleer ae44f14731 fix(theme): correct icons
resolves #515
2021-03-13 08:32:06 +01:00
Jan De Dobbeleer c2de78326e feat(pwsh): write debug prompt function 2021-03-11 08:49:38 +01:00
Vincent Bourdon 7984365f1d refactor: create inline function inWSLSharedDrive 2021-03-10 22:26:17 +01:00
Vincent B 21ecfa47e0 refactor: create inline function inWSLSharedDrive 2021-03-10 22:26:17 +01:00
evilz 500cc5834d fix: slow git status on wsl2 2021-03-10 22:26:17 +01:00
Jan De Dobbeleer 0b3f4da41e feat(git): only show HEAD context on display_status=false 2021-03-09 20:50:52 +01:00
evilz 8343e9aee5 feat(dotnet): support fsharp 2021-03-09 14:14:54 +01:00
Jan De Dobbeleer 5055dfc84a fix(aws): hide default when not set
relates to #380
2021-03-08 21:04:56 +01:00
Jan De Dobbeleer 6ee998af15 fix(git): use platform constant 2021-03-07 18:28:25 +01:00
Jan De Dobbeleer 21f97eebd2 fix(git): use exact executable name
can conflict with git.cmd

relates to #315
2021-03-07 17:07:25 +01:00
Jan De Dobbeleer f96f7ecc42 fix(git): align git commands with posh-git 2021-03-07 14:04:32 +01:00
Jan De Dobbeleer f12ff18385 refactor(test): mapped locations on paths
relates to #484
2021-03-05 17:49:47 +01:00
Jan De Dobbeleer b5af1ebd3b feat(bash): execution time 2021-03-03 08:30:40 +01:00
lnu 3269a47ee7 feat: use RWMutex for map access 2021-03-01 07:11:01 +01:00
TravisTX 7d785df08a feat: include folders 2021-02-28 21:05:11 +01:00
Jan De Dobbeleer 41f2c3d5a6 feat: upgrade dependencies 2021-02-28 17:35:57 +01:00
Jan De Dobbeleer 404a123217 feat: use go embed 2021-02-27 16:48:57 +01:00
Jan De Dobbeleer 67f4f2dad0 feat: build with go 1.16 2021-02-27 16:48:57 +01:00
Jan De Dobbeleer 3fbf785bd9 feat: ansi text formats
resolves #440
2021-02-27 13:19:44 +01:00
Jan De Dobbeleer be1ec7bea3 feat(os): show/hide distro name
resolves #443
2021-02-26 06:57:34 +01:00