Commit graph

1034 commits

Author SHA1 Message Date
Jan De Dobbeleer 60664e245a feat(git): remove stash and worktree count from template
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer dee040c719 fix(shell): lock template cache correctly 2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 3cdb3bfc1d fix(shell): do not lock template cache
resolves #3254
2022-12-27 17:32:45 +01:00
Jan De Dobbeleer 07206e5aae feat(project): add always_enabled and project type 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 73e91eab5b fix(shell): lock template cache creation 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 2f1bf39253 feat(svn): exclude branch info from fetch_status
resolves #3252
2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 9dd462c0d0 fix(engine): close Env after prompt generation
relates to #3244
2022-12-25 20:59:46 +01:00
Jan De Dobbeleer be803c838b fix(template): use correct cache key
resolves #3244
2022-12-25 20:59:46 +01:00
Michael Carman d9f59272f2 feat(svn): add counting of untracked files; don't default to counting as "unmerged" 2022-12-25 20:32:19 +01:00
Jan De Dobbeleer ed870295be fix(go): correct gopsutil dependency
resolves #3231
2022-12-21 19:34:30 +01:00
maxlandon edc02ddb48 refactor(engine): new instantiation function
this commit adds a function to instantiate a new prompt engine
to be used within a Go application (typically a readline shell)
2022-12-20 20:14:13 +01:00
Jan De Dobbeleer 2255f9fd44 feat(template): custom compare functions
resolves #3218
2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 80b92505bc fix(template): remove the need for escaping a dot literal 2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 2dc8dab25b feat(template): print actual error
relates to #3218
2022-12-18 15:02:57 +01:00
David Anthoff f965dc49aa
feat(project): add support for Julia 2022-12-18 14:55:57 +01:00
Jan De Dobbeleer 5047390bc4 fix(windows): build with app exe compatible fork 2022-12-16 13:49:13 +01:00
Jan De Dobbeleer 2b09eee61f chore(go): update dependencies 2022-12-14 15:50:57 +01:00
Jan De Dobbeleer 309b044174 fix(windows): revert use of virtual file system for Windows apps
the virtual file system is unable to detect the presence of an
AppExecLink, so we need to revert back to using the real file system
2022-12-10 11:31:46 +01:00
Jan De Dobbeleer 2cba140522 fix(warp): support rprompt 2022-12-08 11:37:04 +01:00
Jan De Dobbeleer 1e50107ff6 fix(warp): support newlines 2022-12-08 11:37:04 +01:00
L. Yeung 3dc8538136 feat(pwsh): make it compatible with NVS auto-switching 2022-12-07 14:11:14 +01:00
Jan De Dobbeleer fc80a8e11d fix(path): ignore empty root in full path
resolves #2962
2022-12-07 06:42:56 +01:00
Jan De Dobbeleer a86ab4f525 fix(color): validate number range 2022-12-06 21:31:00 +01:00
Jan De Dobbeleer 20462aa50f fix(colors): support 256 palette
resolves #3175
2022-12-06 20:30:40 +01:00
Jan De Dobbeleer a1801f717c chore(path): add home tests for mapped locations 2022-12-06 20:30:40 +01:00
Jan De Dobbeleer 8365aae504 feat: allow block to hide based on terminal width 2022-12-03 17:31:15 +01:00
mirsella 93f6576da0 feat: allow segments to hide based on terminal width 2022-12-03 11:20:06 +01:00
Lemorz56 acd4d01d4d feat: add gitversion segment 2022-11-30 12:51:08 +01:00
Jan De Dobbeleer b9dd5c18a8 feat(path): add RootDir property
relates to #3103
2022-11-28 20:38:43 +01:00
Ted Reed 1c7db480f9 feat(shell): osc51 support
working directory OSC for emacs-libvterm
2022-11-27 10:14:55 +01:00
Jan De Dobbeleer 389262edd0 fix(segment): only case non-alias
relates to #3103
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer 35edf3a93d fix(path): use relative on empty root
relates to #2962
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer 3bc9e83814 feat(os): support opensuse tumbleweed
resolves #3127
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer c8fb6322eb feat(os): support for alma and rocky linux
resolves #3101
2022-11-25 13:37:21 +01:00
Jan De Dobbeleer 0d101537e6 fix(windows): writable should also look for group membership
resolves #3073
2022-11-24 11:42:08 +01:00
Jan De Dobbeleer 735d171b9f fix(windows): validate permissions for world
relates to #3073
2022-11-23 08:08:20 +01:00
Jan De Dobbeleer 931a78c9bb fix(shell): log platform correctly
relates to #3101
2022-11-22 20:48:09 +01:00
Gerben Welter 636a5e29fc
feat(os): add Redhat icon 2022-11-22 20:38:30 +01:00
Jan De Dobbeleer ef267a8f4c fix(init): show invalid config warning
resolves #3113
2022-11-22 20:37:42 +01:00
Jan De Dobbeleer f93f223f5e fix(init): lowercase shellname
relates to #3113
2022-11-22 20:37:42 +01:00
Albert Portnoy ee46cc2645 fix(fish): repaint tooltip on sigint 2022-11-21 19:36:03 +01:00
Jan De Dobbeleer 82f3400814 chore: remove prefix and postfix 2022-11-21 19:29:46 +01:00
Jan De Dobbeleer f1ffd3997a fix(windows): add additional access types and logs
relates to #3073
2022-11-21 19:29:46 +01:00
Jan De Dobbeleer 59c1c3f7ba refactor(debug): extract log from platform 2022-11-21 19:29:46 +01:00
Jan De Dobbeleer a5aad7b058 feat(templates): allow querying the segment cache
resolves #3103
2022-11-20 14:04:42 +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