Commit graph

232 commits

Author SHA1 Message Date
Jan De Dobbeleer a6a5d4b53b fix(zsh): correctly enable fcts marks
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-10-01 09:01:28 +02:00
L. Yeung 4104a9a633 fix(cache): use UUIDs as session IDs
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-09-25 10:34:21 +02:00
L. Yeung 68a1e89f29 fix(cache): require saving explicitly 2024-09-19 08:29:35 +02:00
L. Yeung 9ce9ed72bb refactor(cli): hide deprecated/internal subcommands and flags 2024-09-19 08:29:35 +02:00
L. Yeung c7793a5f29 fix(tcsh): escape special characters correctly 2024-09-19 08:29:35 +02:00
L. Yeung a8f246064e fix(shell): improve initialization
For supported shells:

- Correct string quoting.
- Reorganize initialization scripts to improve maintainability.
2024-09-19 08:29:35 +02:00
L. Yeung 063b95da25 fix(pwsh): prevent a command from eating tail of a transient prompt
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-09-12 20:43:37 +02:00
L. Yeung 23d200b56c fix(shell): use Windows PID as POSH_PID in a Cygwin environment
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-08-27 09:43:38 +02:00
L. Yeung 0644c93a67 fix(bash): respect PROMPT_COMMAND as an array 2024-08-27 09:43:38 +02:00
L. Yeung e2626c8668 fix(shell): avoid unexpected expansions in Bash/Zsh 2024-08-27 09:43:38 +02:00
L. Yeung 8f6aa125a5 fix(elvish): improve robustness of initialization
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-08-22 20:02:13 +02:00
Jan De Dobbeleer 7486558436 fix(bash): escape executable
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5496
2024-08-22 13:25:00 +02:00
Jan De Dobbeleer f816e41df9 fix(bash): revert respect PROMPT_COMMAND as an array 2024-08-19 08:20:40 +02:00
Jan De Dobbeleer db0cd9519b fix(bash): avoid unexpected expansions in Bash/Zsh
resolves #5468
2024-08-19 08:20:40 +02:00
L. Yeung 9a1bbe143e fix(shell): avoid unexpected expansions in Bash/Zsh
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-08-18 20:11:59 +02:00
L. Yeung 5779f6ecb8 fix(bash): respect PROMPT_COMMAND as an array 2024-08-18 19:53:21 +02:00
L. Yeung 2f5f59b5d2 feat(fish): support on-demand prompt re-rendering
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-08-06 18:22:45 +02:00
L. Yeung 9bcc084787 refactor(pwsh): pass only non-filesystem path to pswd
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-08-06 14:26:38 +02:00
Aria Bounds f38998ef18 fix(pwsh): fixed bad error code passing to Set-PoshContext 2024-07-29 07:16:23 +02:00
Aria Bounds a43f57dd79 feat(pwsh): pass original last execution status to Set-PoshContext for use in pwsh alias 2024-07-27 18:02:32 +02:00
L. Yeung b4e19adae1 fix(zsh): work around bugs when used with zsh-syntax-highlighting 2024-07-27 16:25:51 +02:00
L. Yeung 7273dba124 fix(shell): revise initialization scripts 2024-07-26 10:35:45 +02:00
Jan De Dobbeleer 00260e1c72 fix(pwsh): wrap module code in try-catch blocks
relates to #5348
2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 07655211f8 fix(fish): correctly export environment variables 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 51c3f9e0eb fix(windows): only reformat pwd on cygwin 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 1a7f2d2d10 feat(init): add --debug flag 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ffd961fc6c feat(cache): split session and device cache 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4fa407d15e refactor: better use of POSH_THEME 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 6f30788a16 fix(zsh): correct logic to enable tooltips
resolves #5288
2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4a1aa2a7b4 refactor(init): enable features automatically 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ef16b1cd3a refactor(color): move background Template to colors 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 7563d5f4ad fix(pwsh): remove prompt cache
resolves #5332
2024-07-23 13:36:58 +02:00
Jan De Dobbeleer cdfd249b28 fix(bash): remove rprompt support
BREAKING CHANGE: rprompt is no longer supported for bash due to too many
side effects that have no solution in sight.
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 083c204694 refactor: simpler prompt caching logic 2024-07-22 09:22:10 +02:00
L. Yeung 479e6f551e feat(pwsh): cache prompt for repainting 2024-07-20 20:55:19 +02:00
Jan De Dobbeleer 024c8b6ed5 fix(pwsh): restore prompt function override 2024-07-17 08:02:09 +02:00
L. Yeung 2585b90946 refactor(shell): normalize identifiers in initialization scripts 2024-07-15 06:59:13 +02:00
L. Yeung ec2c6fb2d8 fix(zsh): use decorated widget for rendering tooltips 2024-07-15 06:59:13 +02:00
Jan De Dobbeleer 4aba8fa9db fix(zsh): use POSH_PID as unique identifier instead of random 2024-07-14 07:50:45 +02:00
Polo 31d5de095e fix(zsh): widget decoration when non-existent
This commit fixes commit f72c1464ab.
When the widget is undefined, we need to define it instead of decoraring
it.
This PR also makes the logic more robust and in case the decoration
function is used in other cases, expand its usage.
2024-07-11 19:38:48 +02:00
Polo f72c1464ab fix(zsh): decorate user-defined zsh widget
resolves #5193
2024-07-11 07:47:00 +02:00
L. Yeung 66f1347357 fix(shell): avoid unnecessary CLI calls for prompt repaint 2024-07-11 07:32:36 +02:00
Jan De Dobbeleer 4d3fe566e8 fix(nu): validate config field before manipulation
resolves #5230
2024-07-09 09:23:03 +02:00
L. Yeung d5ec96fef0 fix(bash): cache pipe status correctly 2024-07-09 06:48:05 +02:00
Jan De Dobbeleer a65abd25a5 fix(bash): native rprompt
resolves #5221
2024-07-08 16:53:01 +02:00
Jan De Dobbeleer 822e2b5b48 refactor: merge net and http under runtime module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 05251e1ac3 refactor(platform): rename to runtime 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ee9bdf4761 refactor: move color to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 4c34ffdc32 refactor: move formats to shell 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer dc002fc1e1 fix(cmd): use process ID for cache
resolves #5182
2024-06-28 20:55:17 +02:00