{"action":"created","issue":{"url":"https://api.github.com/repos/albertlauncher/albert/issues/444","repository_url":"https://api.github.com/repos/albertlauncher/albert","labels_url":"https://api.github.com/repos/albertlauncher/albert/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/albertlauncher/albert/issues/444/comments","events_url":"https://api.github.com/repos/albertlauncher/albert/issues/444/events","html_url":"https://github.com/albertlauncher/albert/issues/444","id":222018545,"number":444,"title":"Tab completion for Terminal plugin","user":{"login":"schoettl","id":1301843,"avatar_url":"https://avatars3.githubusercontent.com/u/1301843?v=4","gravatar_id":"","url":"https://api.github.com/users/schoettl","html_url":"https://github.com/schoettl","followers_url":"https://api.github.com/users/schoettl/followers","following_url":"https://api.github.com/users/schoettl/following{/other_user}","gists_url":"https://api.github.com/users/schoettl/gists{/gist_id}","starred_url":"https://api.github.com/users/schoettl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoettl/subscriptions","organizations_url":"https://api.github.com/users/schoettl/orgs","repos_url":"https://api.github.com/users/schoettl/repos","events_url":"https://api.github.com/users/schoettl/events{/privacy}","received_events_url":"https://api.github.com/users/schoettl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-04-16T16:16:42Z","updated_at":"2017-09-02T19:18:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Could we implement a tab completion for the Terminal plugin?\r\n\r\nI'm aware that this is a difficalt topic:\r\n- history vs. completion suggestsions.\r\n- how to complete shell aliases/functions or shell syntax (which depend on the user's shell).\r\n\r\nHowever, a basic completion for commands in the user's `$PATH` would already be very useful.\r\n\r\nExample:\r\n\r\n- `>gnTAB` gives `>gnome`\r\n- append \"-sc\"\r\n- then `>gnome-scTAB` gives `>gnome-screenshot`\r\n\r\nThis completion system can be extended at any later time.\r\n\r\nHow do you think about this idea?"},"comment":{"url":"https://api.github.com/repos/albertlauncher/albert/issues/comments/326764314","html_url":"https://github.com/albertlauncher/albert/issues/444#issuecomment-326764314","issue_url":"https://api.github.com/repos/albertlauncher/albert/issues/444","id":326764314,"user":{"login":"ManuelSchneid3r","id":3252315,"avatar_url":"https://avatars1.githubusercontent.com/u/3252315?v=4","gravatar_id":"","url":"https://api.github.com/users/ManuelSchneid3r","html_url":"https://github.com/ManuelSchneid3r","followers_url":"https://api.github.com/users/ManuelSchneid3r/followers","following_url":"https://api.github.com/users/ManuelSchneid3r/following{/other_user}","gists_url":"https://api.github.com/users/ManuelSchneid3r/gists{/gist_id}","starred_url":"https://api.github.com/users/ManuelSchneid3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManuelSchneid3r/subscriptions","organizations_url":"https://api.github.com/users/ManuelSchneid3r/orgs","repos_url":"https://api.github.com/users/ManuelSchneid3r/repos","events_url":"https://api.github.com/users/ManuelSchneid3r/events{/privacy}","received_events_url":"https://api.github.com/users/ManuelSchneid3r/received_events","type":"User","site_admin":false},"created_at":"2017-09-02T19:18:45Z","updated_at":"2017-09-02T19:18:45Z","author_association":"OWNER","body":"Its not in the releases yet. It will be in v0.13 though. To drop _all_ matches and completions was a short time decision before one of the last releases, since interactive shells, which were needee to find aliases, made tons of problems. The general completion and matches of executables were intended to be reintroduced. Just not in that release. \nJust as a note: shell aliases of whichever shell will never be part of the terminal extension. They are designed to be used with an interactive shell. To list them an interactive shell is needed. Starting an interactive shell in albert lookup is kind of an abuse and regarding performance pretty heavyweight. Further they are special to each shell. Supporting sh bash zsh ksh ash and whatever shell is out there is just a nightmare. Especially when trying to parse the rc files which is the only way i can think of when interactive shells are not an option."}}
{"actor":{"display_login":"ManuelSchneid3r"}}