Commit graph

52 commits

Author SHA1 Message Date
Jan De Dobbeleer 9f4f9d30db fix(init): quote path for spaces
resolves #879
2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 07b9b82f9f fix(pwsh): set lastCommandSuccess first
resolves #849
2021-07-12 07:39:15 +02:00
Jan De Dobbeleer 9576e8212e fix(transient): handle multiline prompts better in powershell
relates to #840
2021-07-10 15:00:23 +02:00
Jan De Dobbeleer 75253034b9 feat: enable transient prompt in zsh 2021-07-04 07:39:48 +02:00
Jan De Dobbeleer f19460a0c5 fix(transient): support multiline prompts
relates to #807
2021-06-25 20:14:32 +02:00
Jan De Dobbeleer 7c72e76aff feat(pwsh): transient prompt 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer 7bb0c9ae0b refactor(tooltips): better invocation for pwsh 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer dcada48c9d feat: tooltip support 2021-06-13 19:46:02 +02:00
Jan De Dobbeleer 08c0d9a957 fix(bash): fallback TIMER_START to HOME
resolves #802
2021-06-12 21:42:18 +02:00
lnu 7eae98f8d7 fix(pwsh): use correct directory when exporting theme
resolves #768
2021-06-01 06:40:37 +02:00
Jan De Dobbeleer 8ef355db4c fix(pwsh): use correct directory when exporting theme
resolves #748
2021-05-29 18:46:59 +02:00
lnu cdd4090c03 fix: export-poshtheme ~ issue
Fix regression introduced by previous commit(~)
2021-05-28 07:30:38 +02:00
lnu 46bdc4537d fix: export-poshtheme issue with relative path
Path.GetFullPath used to resolve full or relative paths
2021-05-28 06:52:46 +02:00
Jan De Dobbeleer ed610c13ee feat(az): display account info 2021-05-21 20:33:11 +02:00
Jan De Dobbeleer c3b6f31d09 feat(pwsh): disable module support by default 2021-05-21 20:33:11 +02:00
Jan De Dobbeleer 894b84fa85 fix(pwsh): get filesystem path for configs
resolves #715
2021-05-21 20:33:11 +02:00
Jan De Dobbeleer 676da9e4d1 fix: set conda env var
relates to #133
2021-05-20 19:27:24 +02:00
Jan De Dobbeleer 766dc1ac8b
fix: set powerline env var
resolves #133
2021-05-16 19:23:05 +02:00
lnu 6671ed068c feat: export-poshtheme to clipboard if no file path provided 2021-05-06 11:37:07 +02:00
Chris Bargren f7841eb43c fix(zsh): store exit code first in precmd hook
Addresses an issue causing exit code segments to incorrectly report an
exit code of `0`
2021-04-20 07:03:28 +02:00
Jan De Dobbeleer 016d981baa fix(pwsh): invoke module support before context
relates to #655
2021-04-17 20:37:49 +02:00
lnu 9c4ba43871 fix: stack count variable names + compability with all init modes 2021-04-14 14:58:54 +02:00
lnu 4f96cc0f7c fix: wrong stack count when init from Set-PoshPrompt 2021-04-14 07:00:44 +02:00
lnu b9601b632a feat: show/hide stack count in path segment 2021-04-12 22:25:01 +02:00
Jan De Dobbeleer afb69b4229 feat: export image of the current theme 2021-04-11 10:53:10 +02:00
Olivier Jullien 5134e11bc6
fix(bash): force temporary file deletion
forces the temporary file deletion when the user uses a security rm alias
2021-04-10 09:07:04 +02:00
TravisTX 4597f158c4 perf(az): improve performance for az powershell 2021-04-06 15:35:18 +02:00
TravisTX 85fb7611bc feat(az): clear envvars 2021-03-31 07:11:43 +02:00
TravisTX 7db7f13e51 feat(az): support az pwsh module 2021-03-28 11:24:49 +02:00
Jan De Dobbeleer 320ec1d7d3 feat(pwsh): posh-git segment 2021-03-27 17:52:53 +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 18c56efd2e feat: multiple config formats 2021-03-21 19:30:56 +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
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 c2de78326e feat(pwsh): write debug prompt function 2021-03-11 08:49:38 +01:00
Jan De Dobbeleer b5af1ebd3b feat(bash): execution time 2021-03-03 08:30:40 +01:00
lnu 890d0ad0e1 feat: cache compiled regex
use mustcompile for regex.
Always use mustcompile which throws a panic
if the regex cannot be compiled.
We call recover to detect the panic and
display an error message to the user.
2021-01-20 13:11:05 +01:00
Jan De Dobbeleer b651c9a065 fix(pwsh): provide full config path
resolves #355
2021-01-18 20:06:51 +01:00
Jan De Dobbeleer f6501aeb51 fix: multiline prompt rendering
resolves #354
2021-01-18 11:16:31 +01:00
Jan De Dobbeleer edebc1d465 refactor: align pwsh module with init 2021-01-17 19:25:19 +01:00
Jan De Dobbeleer e26326001e fix: ensure correct encoding for pwsh
resolves #352
2021-01-17 19:25:19 +01:00
Jan De Dobbeleer 780722a371 refactor(powershell): use PSDrive path
resolves #329
2021-01-09 20:00:39 +01:00
Jan De Dobbeleer 598984b4cb refactor: check for availability of posh-git iso cmdlet
resolves #325
2021-01-07 13:31:13 +01:00
Laurent Nullens 1bc52c3c48 fix: exit code always equal 0
The exit code was not captured correctly since the move to the new bootstrap system.  
It never displays the actual exit code.
2020-12-31 12:06:59 +01:00
TravisTX 23eb73cd69 fix: fix lastexitcode 2020-12-30 16:30:51 +01:00