{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":13886476,"defaultBranch":"master","name":"zsh-autosuggestions","ownerLogin":"zsh-users","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-10-26T16:09:37.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/567410?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1694099266.0","currentOid":""},"activityList":{"items":[{"before":"a593f4dfec8562955030cd42422c7bc1616274e8","after":"11d17e7fea9fba8067f992b3d95e884c20a4069c","ref":"refs/heads/develop","pushedAt":"2023-09-07T15:54:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Clear POSTDISPLAY instead of unsetting\n\nWe don't have any particular reason to unset. Clearing should be good\nenough, and avoid any errors using unset parameters.\n\nCherry-picked from PR #634","shortMessageHtmlLink":"Clear POSTDISPLAY instead of unsetting"}},{"before":"2c9e57fd50c23763e764a0e1e71e3fef7a578629","after":"a593f4dfec8562955030cd42422c7bc1616274e8","ref":"refs/heads/develop","pushedAt":"2023-09-07T15:39:17.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #630 from codicodi/reset-fd\n\nAlways reset file descriptor after consuming it","shortMessageHtmlLink":"Merge pull request #630 from codicodi/reset-fd"}},{"before":"23f294345584162a73f43e9616556fcca4bd9ce0","after":"2c9e57fd50c23763e764a0e1e71e3fef7a578629","ref":"refs/heads/develop","pushedAt":"2023-09-07T15:31:03.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #628 from jeebak/develop\n\nEnsure that we're using the builtin exec","shortMessageHtmlLink":"Merge pull request #628 from jeebak/develop"}},{"before":null,"after":"8be05efc3cf65b361645a66d4079c3b45505c2de","ref":"refs/heads/fixes/no-zero-arg","pushedAt":"2023-09-07T15:07:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Stop requiring function_argzero\n\nThis commit is based on [zsh-syntax-highlighting's similar commit][1].\n\nAlso, motivated from PR #640.\n\n[1]: https://github.com/zsh-users/zsh-syntax-highlighting/commit/750aebc553f2f4149055ef4cb9d7641f5df6d3ea","shortMessageHtmlLink":"Stop requiring function_argzero"}},{"before":"95602e2dea741971196db50b602315c97c608fb1","after":"c3d4e576c9c86eac62884bd47c01f6faed043fc5","ref":"refs/heads/master","pushedAt":"2023-09-07T14:58:48.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #687 from japanese-goblinn/master\n\nfix: Makefile SRC_DIR spacing","shortMessageHtmlLink":"Merge pull request #687 from japanese-goblinn/master"}},{"before":"9b0272944fc31af2f5a940ac07acc9054ab14e02","after":"23f294345584162a73f43e9616556fcca4bd9ce0","ref":"refs/heads/develop","pushedAt":"2023-09-07T14:51:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Add more common widgets to list of clear widgets\n\nCherry-picked from PR #706 and updates made to src/config.zsh.\n\nFixes issues #678","shortMessageHtmlLink":"Add more common widgets to list of clear widgets"}},{"before":"39aa7bed3a477af1eaa3aa72bcb6e6e616aa7dc0","after":"95602e2dea741971196db50b602315c97c608fb1","ref":"refs/heads/master","pushedAt":"2023-09-07T14:46:09.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #723 from migimigi/migimigi-patch-1\n\nCreate .gitignore for *.zwc","shortMessageHtmlLink":"Merge pull request #723 from migimigi/migimigi-patch-1"}},{"before":"27c298cf1a52b881684ada1258551ba3d5b3c3b8","after":"39aa7bed3a477af1eaa3aa72bcb6e6e616aa7dc0","ref":"refs/heads/master","pushedAt":"2023-09-04T15:56:09.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #671 from jirutka/patch-1\n\nInstall: Add Alpine Linux package","shortMessageHtmlLink":"Merge pull request #671 from jirutka/patch-1"}},{"before":"a84d78f8b5ffc50f6b856fce11a312bf13040979","after":"27c298cf1a52b881684ada1258551ba3d5b3c3b8","ref":"refs/heads/master","pushedAt":"2023-09-04T15:54:44.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #711 from dpthegrey/patch-1\n\nUpdate Install.md","shortMessageHtmlLink":"Merge pull request #711 from dpthegrey/patch-1"}},{"before":"9908eb49a3fd18e25cfd8a0b9aa841e58429e59d","after":"a84d78f8b5ffc50f6b856fce11a312bf13040979","ref":"refs/heads/master","pushedAt":"2023-09-04T15:53:24.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #758 from mjperrone/patch-1\n\nUpdate INSTALL link for Mac OS - homebrew moved under z/","shortMessageHtmlLink":"Merge pull request #758 from mjperrone/patch-1"}},{"before":null,"after":"3391962a155d3b092221772a2151cf21201767e8","ref":"refs/heads/fixes/romkatv-async-fixes","pushedAt":"2023-08-26T04:15:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Clear async global variables on successful response\n\nIf _ZSH_AUTOSUGGEST_ASYNC_FD is not cleared, something else may open the\nfile descriptor pointed to by it. And then the next call into\n_zsh_autosuggest_async_request will close it causing trouble.\n\nIt seems like good practice to clean up _ZSH_AUTOSUGGEST_CHILD_PID as\nwell, though it's not directly causing any known problems at the moment.\n\nI was able to produce errors with ZSH_AUTOSUGGEST_MANUAL_REBIND active\nand sourcing a file async-widget-setup.zsh after the first precmd with\nthe plugin active. If manual rebind is not active or if the widgets are\ncreated before the first precmd, then zsh-autosuggestions wraps the\nwidgets and for some reason we don't seem to get any fd conflicts.\n\nThe .zshrc:\n\n```\nZSH_AUTOSUGGEST_MANUAL_REBIND=true\nsource zsh-autosuggestions.zsh\n```\n\nand async-widget-setup.zsh:\n\n```\nfunction async-widget-fork() {\n\texec {fd}< <(echo foo)\n\tzle -M \"opened: $fd, autosuggest fd: $_ZSH_AUTOSUGGEST_ASYNC_FD\"\n}\n\nfunction async-widget-read() {\n\tzle -M \"reading from $fd: $(cat <&$fd)\"\n}\n\nzle -N async-widget-fork\nzle -N async-widget-read\n\nbindkey ^A async-widget-fork\nbindkey ^B async-widget-read\n```\n\nThen run `ZDOTDIR=$PWD zsh` and run `source async-widget-setup.zsh`. At\nthe next prompt, type one character e.g. \"a\" to trigger an async\nrequest/response cycle. This leaves _ZSH_AUTOSUGGEST_ASYNC_FD set to the\nstale file descriptor number. Then press ^A to activate the fork. This\nwill set the fd parameter to the same number as\n_ZSH_AUTOSUGGEST_ASYNC_FD. Then type another character e.g. \"a\" to\ntrigger an async request. This will print a \"No handler installed\" error\nand close the file descriptor pointed to by both\n_ZSH_AUTOSUGGEST_ASYNC_FD and fd. Pressing ^B at this point will fail to\nread with a \"bad file descriptor\" error.","shortMessageHtmlLink":"Clear async global variables on successful response"}},{"before":"a411ef3e0992d4839f0732ebeb9823024afaaaa8","after":"9908eb49a3fd18e25cfd8a0b9aa841e58429e59d","ref":"refs/heads/master","pushedAt":"2023-08-18T02:15:04.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Merge pull request #755 from rweir/master\n\nUpdate README.md","shortMessageHtmlLink":"Merge pull request #755 from rweir/master"}},{"before":"2f990a73e0c5e430a6615bfef065a32b89e30bd4","after":"70517a6dfd52e416ba5fcc88d279097b794a1800","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T02:02:14.097Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Fix issues with LASTWIDGET caused by async suggestions\n\nThere are a number of widgets that rely on LASTWIDGET so that they can\nchain their behavior together on subsequent invocations. When a\nsuggestion was fetched asynchronously, the widget showing the suggestion\nwould overwrite LASTWIDGET and break these widgets that rely on it.\nRelatively recently, a flag was added to the `zle` builtin to opt out of\nsetting LASTWIDGET when calling a widget. We can use that flag to avoid\nsetting LASTWIDGET when displaying suggestions that were fetched\nasynchronously.","shortMessageHtmlLink":"Fix issues with LASTWIDGET caused by async suggestions"}},{"before":"2cc34c015e581534e631b37d353b5fb7d34ed151","after":"9b0272944fc31af2f5a940ac07acc9054ab14e02","ref":"refs/heads/develop","pushedAt":"2023-05-27T01:57:37.941Z","pushType":"push","commitsCount":2,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Add support for 5.9","shortMessageHtmlLink":"Add support for 5.9"}},{"before":"2cc34c015e581534e631b37d353b5fb7d34ed151","after":null,"ref":"refs/heads/features/github-actions","pushedAt":"2023-05-27T01:48:19.219Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"}},{"before":"fcca87555fe5c0c93c5ba865505a7e5d7a1a95cb","after":"2cc34c015e581534e631b37d353b5fb7d34ed151","ref":"refs/heads/develop","pushedAt":"2023-05-27T01:48:10.825Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Switch from Circle CI to GitHub Actions\n\nThe testing docker image has been split up. Instead of having one image\nwith all supported versions of zsh installed, we now have a separate\nimage for each supported zsh version.\n\nWe use GitHub Action matrices to run jobs in parallel for all of the\nsupported versions.\n\nWe no longer need to publish images to Docker Hub. The images are just\nbuilt by CI (or developers) as needed from the Dockerfile in the repo.","shortMessageHtmlLink":"Switch from Circle CI to GitHub Actions"}},{"before":"a0368544d344b3abfe59e88ecc62a3b3a45398af","after":"2cc34c015e581534e631b37d353b5fb7d34ed151","ref":"refs/heads/features/github-actions","pushedAt":"2023-05-27T01:44:43.390Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Switch from Circle CI to GitHub Actions\n\nThe testing docker image has been split up. Instead of having one image\nwith all supported versions of zsh installed, we now have a separate\nimage for each supported zsh version.\n\nWe use GitHub Action matrices to run jobs in parallel for all of the\nsupported versions.\n\nWe no longer need to publish images to Docker Hub. The images are just\nbuilt by CI (or developers) as needed from the Dockerfile in the repo.","shortMessageHtmlLink":"Switch from Circle CI to GitHub Actions"}},{"before":"e0d48f1170baa6fe30e68a84dae003820bba5e1f","after":"a0368544d344b3abfe59e88ecc62a3b3a45398af","ref":"refs/heads/features/github-actions","pushedAt":"2023-05-27T01:29:28.222Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Switch from Circle CI to GitHub Actions\n\nThe testing docker image has been split up. Instead of having one image\nwith all supported versions of zsh installed, we now have a separate\nimage for each supported zsh version.\n\nWe use GitHub Action matrices to run jobs in parallel for all of the\nsupported versions.\n\nWe no longer need to publish images to Docker Hub. The images are just\nbuilt by CI (or developers) as needed from the Dockerfile in the repo.","shortMessageHtmlLink":"Switch from Circle CI to GitHub Actions"}},{"before":null,"after":"e0d48f1170baa6fe30e68a84dae003820bba5e1f","ref":"refs/heads/features/github-actions","pushedAt":"2023-05-27T01:25:00.636Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Switch from Circle CI to GitHub Actions\n\nThe testing docker image has been split up. Instead of having one image\nwith all supported versions of zsh installed, we now have a separate\nimage for each supported zsh version.\n\nWe use GitHub Action matrices to run jobs in parallel for all of the\nsupported versions.\n\nWe no longer need to publish images to Docker Hub. The images are just\nbuilt by CI (or developers) as needed from the Dockerfile in the repo.","shortMessageHtmlLink":"Switch from Circle CI to GitHub Actions"}},{"before":"1867239d72d332d14806cebfa724a9bc91144556","after":"2f990a73e0c5e430a6615bfef065a32b89e30bd4","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T01:02:11.971Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"42374bb7aae27440cbd50187366c3c38b72a6b3f","after":"1867239d72d332d14806cebfa724a9bc91144556","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T00:57:11.768Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"e4f4ef39907a730ea44b7adc299f339ae84bcb2c","after":"42374bb7aae27440cbd50187366c3c38b72a6b3f","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T00:55:49.740Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"c6cf1d76784a209dc9bafa9d2c553b2904bac535","after":"e4f4ef39907a730ea44b7adc299f339ae84bcb2c","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T00:46:19.273Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"4f318e2718b0c6a30df92b387866ea7a1e009c38","after":"c6cf1d76784a209dc9bafa9d2c553b2904bac535","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-27T00:08:02.841Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"22f270396b8265f55e018828ef112ef11d6f3e5a","after":"4f318e2718b0c6a30df92b387866ea7a1e009c38","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:53:35.848Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip: Playing with github actions","shortMessageHtmlLink":"wip: Playing with github actions"}},{"before":"c4c3dbabe1ad3614d05aa723e02fa8d60843bf60","after":"22f270396b8265f55e018828ef112ef11d6f3e5a","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:52:51.683Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip: Playing with github actions","shortMessageHtmlLink":"wip: Playing with github actions"}},{"before":"91fd8fe1c8fca2f7cd4497161d6719970696110c","after":"c4c3dbabe1ad3614d05aa723e02fa8d60843bf60","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:39:06.681Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip: Playing with github actions","shortMessageHtmlLink":"wip: Playing with github actions"}},{"before":"780479661d2cb036cf82723698482e6259da34c1","after":"91fd8fe1c8fca2f7cd4497161d6719970696110c","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:37:14.065Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip: Playing with github actions","shortMessageHtmlLink":"wip: Playing with github actions"}},{"before":"a07035d047991aebda8eaa480bde33f9e8f03503","after":"780479661d2cb036cf82723698482e6259da34c1","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:36:32.496Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"wip: Playing with github actions","shortMessageHtmlLink":"wip: Playing with github actions"}},{"before":"77b9916e324b9b06e689325e1ba79e7a9d2b6d9b","after":"a07035d047991aebda8eaa480bde33f9e8f03503","ref":"refs/heads/fixes/async-last-widget","pushedAt":"2023-05-26T23:04:07.385Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericfreese","name":"Eric Freese","path":"/ericfreese","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/79998?s=80&v=4"},"commit":{"message":"Make sure we have git installed in the circle CI runner image","shortMessageHtmlLink":"Make sure we have git installed in the circle CI runner image"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADe57q-AA","startCursor":null,"endCursor":null}},"title":"Activity ยท zsh-users/zsh-autosuggestions"}