Commit graph

137 commits

Author SHA1 Message Date
Jan De Dobbeleer 393f30a082 feat: weekly upgrade notice 2023-03-03 20:28:41 +01:00
Jan De Dobbeleer 90b8178b91 feat(shell): support xonsh 2023-02-18 16:52:13 +01:00
Jan De Dobbeleer f84e7b209f feat(shell): support elvish 2023-02-18 14:00:10 +01:00
Jan De Dobbeleer bb15f078bb feat: support tcsh
resolves #3500
2023-02-17 10:17:52 +01:00
Jan De Dobbeleer c76e9fd166 feat: ignore leading space on clear 2023-02-05 10:18:04 +01:00
Jan De Dobbeleer 441d1ff0af fix(cursor): only get when needed
resolves #3446
2023-02-04 11:37:28 +01:00
Jan De Dobbeleer 221b2d7d51 feat(shell): restore line logic for zsh and bash 2023-02-02 19:47:14 +01:00
Jan De Dobbeleer bc21ba3aef fix(shell): do not fetch cursor position using ANSI
resolves #3434
2023-02-01 10:42:04 +01:00
Jan De Dobbeleer db557e4b31 fix(warp): do not get cursor position
resolves #3431
2023-01-31 18:48:17 +01:00
L. Yeung ceb869671e refactor(shell): use local variables in init scripts for Bash/Zsh 2023-01-31 06:45:03 +01:00
Jan De Dobbeleer a0931f84a4 fix(init): support Midnight Commander
resolves #3415
2023-01-29 13:57:48 +01:00
Jan De Dobbeleer d124909912 fix(pwsh): cache tooltip command to avoid duplicate CLI calls
resolves #3394
2023-01-26 19:58:31 +01:00
Jan De Dobbeleer 481878262b feat: ignore empty header line on clear
relates to #3388
2023-01-25 16:14:41 +01:00
Jan De Dobbeleer 522a216c00 feat: add .PromptCount
relates to #3388
2023-01-23 07:46:35 +01:00
Jan De Dobbeleer ef050bf023 fix(zsh): tooltip compatibility with oh-my-zsh 2023-01-10 13:54:51 +01:00
maxlandon 02c557f42e refactor(go): adapt imports for go.mod consistency 2023-01-06 07:48:14 +01:00
Jan De Dobbeleer 005445b9fe refactor(ansi): rewrite ansi and writer 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 023546fe37 chore(go): rename module 2022-12-28 20:17:59 +01:00
L. Yeung 3dc8538136 feat(pwsh): make it compatible with NVS auto-switching 2022-12-07 14:11:14 +01:00
Albert Portnoy ee46cc2645 fix(fish): repaint tooltip on sigint 2022-11-21 19:36:03 +01:00
Jan De Dobbeleer 0d8b8591cc fix(pid): cache PID from init
resolves #3096
2022-11-19 22:39:09 +01:00
Jan De Dobbeleer 877ac59f5f feat(cmd): toggle rprompt from configuration 2022-11-18 09:41:39 +01:00
Chris Antos 450ee25f77 fix(cmd): adjust an accidentally-global function 2022-11-18 09:41:39 +01:00
Chris Antos f2027173fb feat(cmd): revisions for async prompt
this uses caching for cwd, left prompt, right prompt, tooltip, tip
command, and the tooltip coroutine.

the effect is the prompt is always super responsive, except for the
first time after the current directory changes.

the tooltip coroutine is managed a bit differently, to handle some edge
cases a little better.
2022-11-18 09:41:39 +01:00
Chris Antos 9695f4d203 fix(cmd): do not leak global variable 2022-11-18 09:41:39 +01:00
Jan De Dobbeleer cd9c8b3e5d fix(fish): re-render rprompt when no tooltip is needed
resolves #3093
2022-11-18 09:35:25 +01:00
Justin Grote a17ea7b989
fix(pwsh): support additional debug prompt scenarios 2022-11-17 06:21:25 +01:00
Jan De Dobbeleer 18f6db017a chore: rename environment to platform 2022-11-11 20:23:52 +01:00
Jan De Dobbeleer c0c230879a fix(fish): do not reload rprompt on empty tooltip
resolves #3053
2022-11-09 08:08:47 +01:00
Jan De Dobbeleer 07acb9b0f6 fix(fish): collect commandline keyword after split
resolves #3042
2022-11-04 21:46:45 +01:00
Jan De Dobbeleer efd4b7d832 fix(fish): split single string
resolves #3042
2022-11-04 21:03:36 +01:00
Jan De Dobbeleer 2609aa2aea fix(fish): do not hide tooltip on arguments
resolves #3037
2022-11-03 17:28:31 +01:00
Jan De Dobbeleer 19b870a1f7 fix(zsh): use correct key 2022-10-28 08:18:37 +02:00
Jan De Dobbeleer 972c3c1048 fix(zsh): add key binding conditionally 2022-10-24 16:53:28 +02:00
Jan De Dobbeleer e884a6afe8 fix(zsh): remove non-standard keybindings
resolves #2999
2022-10-22 07:23:54 +02:00
Jan De Dobbeleer f73469533a fix(zsh): reintroduce home/end key bindings 2022-10-21 08:56:25 +02:00
L. Yeung dbb5567d22
fix(nu): deprecate use of -c flag in term size 2022-10-19 20:16:36 +02:00
Jan De Dobbeleer a94ce52f98 fix(zsh): restore keybindings on transient prompt 2022-10-19 12:04:05 +02:00
Jan De Dobbeleer cad0a1be8f fix(pwsh): use literal path
relates to #2949
2022-10-19 12:04:05 +02:00
Jan De Dobbeleer b174c27a5b fix(zsh): restore broken keybindings
relates to #2617
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer dd5bc77576 feat(pwsh): allow disabling folder fallback
resolves #2949
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer 55ed6c9f58 fix(pwsh): delegate manual flag on init 2022-10-06 14:04:35 +02:00
Jan De Dobbeleer ee130605db fix(pwsh): move HOME on invalid directory
resolves #2873
2022-10-04 19:59:12 +02:00
L. Yeung 5b6a3470d1 fix(path): parse path correctly 2022-10-04 06:50:07 +02:00
Jan De Dobbeleer 94a379b26a feat(init): toggle auto config state with flag
resolves #2848
2022-10-03 13:02:42 +02:00
Jan De Dobbeleer 56ae9e6fda feat(az): parse pwsh context from module output
this fixes an issue where using multiple powershell sessions with a
different Azure context would display the same context everywhere when
using Set-AzContext to switch between them

BREAKING CHANGE: this requires adding `$env:POSH_AZURE_ENABLED = $true`
to your PowerShell profile if you want to get the correct context
displayed in your prompt for Azure powershell
2022-09-26 08:23:03 +02:00
Jan De Dobbeleer 66a55991f1 feat(nu): update for 0.68.1
resolves #2756
2022-09-25 19:49:56 +02:00
Jan De Dobbeleer 17572d7f3f feat(context): allow context setting where possible
relates to #2776
2022-09-23 21:19:47 +02:00
Jan De Dobbeleer 2429d46435 fix(cmd): toggle tooltips
resolves #2815
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer babe425f3f fix(get): add shell 2022-09-23 08:46:12 +02:00