{"action":"opened","issue":{"url":"https://api.github.com/repos/Eriner/prezto/issues/11","labels_url":"https://api.github.com/repos/Eriner/prezto/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Eriner/prezto/issues/11/comments","events_url":"https://api.github.com/repos/Eriner/prezto/issues/11/events","html_url":"https://github.com/Eriner/prezto/issues/11","id":115739567,"number":11,"title":"Autocompleting users","user":{"login":"Eriner","id":6919167,"avatar_url":"https://avatars.githubusercontent.com/u/6919167?v=3","gravatar_id":"","url":"https://api.github.com/users/Eriner","html_url":"https://github.com/Eriner","followers_url":"https://api.github.com/users/Eriner/followers","following_url":"https://api.github.com/users/Eriner/following{/other_user}","gists_url":"https://api.github.com/users/Eriner/gists{/gist_id}","starred_url":"https://api.github.com/users/Eriner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eriner/subscriptions","organizations_url":"https://api.github.com/users/Eriner/orgs","repos_url":"https://api.github.com/users/Eriner/repos","events_url":"https://api.github.com/users/Eriner/events{/privacy}","received_events_url":"https://api.github.com/users/Eriner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Eriner/prezto/labels/Discussion","name":"Discussion","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-08T15:26:54Z","updated_at":"2015-11-08T15:26:54Z","closed_at":null,"body":"When typing `cd c<tab>`, the completion module will first look for files in the current directory starting with the letter 'c'. If none are found, it will search the list of users to determine if any usernames (that aren't explicitly ignored) start with 'c'. If found, it will autocomplete the username.\r\n\r\nThis was extremely annoying when this occurred after trying to tab-complete a file you *thought* existed in the current directory, only to have it autocomplete a username. I've done my best to add as many daemon users to the ignore list in commit https://github.com/Eriner/prezto/commit/29853368d90c25287951951c80ba306eaf746d28.\r\n\r\n`cd userna<tab>` is a feature I have **never** used, and I'm considering disabling it by default, and allowing it to be explicitly enabled with a switch in .zpreztorc. It's unrealistic to assume I will be able to add *every* daemon user to this ignore list. I'm guessing that for most people, this is more of an annoyance than a 'feature'."}}