{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2907","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2907/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2907/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2907/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2907","id":146374802,"number":2907,"title":"Autocompletion of dollar-sign-prefixed variables does not work","user":{"login":"jonathandann","id":312781,"avatar_url":"https://avatars.githubusercontent.com/u/312781?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandann","html_url":"https://github.com/jonathandann","followers_url":"https://api.github.com/users/jonathandann/followers","following_url":"https://api.github.com/users/jonathandann/following{/other_user}","gists_url":"https://api.github.com/users/jonathandann/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandann/subscriptions","organizations_url":"https://api.github.com/users/jonathandann/orgs","repos_url":"https://api.github.com/users/jonathandann/repos","events_url":"https://api.github.com/users/jonathandann/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/12","html_url":"https://github.com/fish-shell/fish-shell/milestones/2.3.0","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/12/labels","id":1066419,"number":12,"title":"2.3.0","description":"","creator":{"login":"zanchey","id":520741,"avatar_url":"https://avatars.githubusercontent.com/u/520741?v=3","gravatar_id":"","url":"https://api.github.com/users/zanchey","html_url":"https://github.com/zanchey","followers_url":"https://api.github.com/users/zanchey/followers","following_url":"https://api.github.com/users/zanchey/following{/other_user}","gists_url":"https://api.github.com/users/zanchey/gists{/gist_id}","starred_url":"https://api.github.com/users/zanchey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanchey/subscriptions","organizations_url":"https://api.github.com/users/zanchey/orgs","repos_url":"https://api.github.com/users/zanchey/repos","events_url":"https://api.github.com/users/zanchey/events{/privacy}","received_events_url":"https://api.github.com/users/zanchey/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":338,"state":"open","created_at":"2015-04-14T07:44:05Z","updated_at":"2016-04-06T17:20:08Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-04-06T17:03:29Z","updated_at":"2016-04-06T17:28:56Z","closed_at":"2016-04-06T17:20:03Z","body":"<!--\r\nThanks for helping to make fish better!\r\n\r\nIf you are asking for help with fish, or you've found a bug:\r\n - Make sure it's not a known or solved issue, by searching https://github.com/fish-shell/fish-shell/issues\r\n - Fill in the following information carefully:\r\n\r\n-->\r\n\r\nAutocompletion suggests $-prefixed variables, then fails to complete them when hitting `Tab`. Hitting `->` works.\r\n\r\n### Reproduction Steps:\r\n\r\n1. `cd $HOME`\r\n2. `cd ~/Desktop`\r\n3. `cd $<tab>`\r\n\r\n### Expected behavior:\r\n\r\nOn step 3 `$HOME` is suggested, hitting `Tab` should complete the suggestion\r\n\r\n### Observed behavior:\r\n\r\n```\r\ncd $$* is not supported. In fish, please use $argv.\r\n- (line 1): begin; printf \"%s\\n\" $*/ \r\n                                  ^\r\nfrom sourcing file -\r\n\tcalled on line 60 of file /usr/local/Cellar/fish/2.2.0/share/fish/functions/eval.fish\r\n\r\nin function 'eval'\r\n\tcalled on line 45 of file /usr/local/Cellar/fish/2.2.0/share/fish/functions/__fish_complete_cd.fish\r\n\r\nin function '__fish_complete_cd'\r\n\tcalled on standard input\r\n\r\nin command substitution\r\n\tcalled on standard input\r\n\r\nsource: Error while reading file '-'\r\n```\r\n\r\n### Additional information:\r\n\r\n---\r\nFish version: fish, version 2.2.0\r\n\r\nOperating system: OS X 10.11.4 (15E65)\r\n\r\nTerminal or terminal emulator: OS X  Terminal \r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/206477153","html_url":"https://github.com/fish-shell/fish-shell/issues/2907#issuecomment-206477153","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2907","id":206477153,"user":{"login":"jonathandann","id":312781,"avatar_url":"https://avatars.githubusercontent.com/u/312781?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandann","html_url":"https://github.com/jonathandann","followers_url":"https://api.github.com/users/jonathandann/followers","following_url":"https://api.github.com/users/jonathandann/following{/other_user}","gists_url":"https://api.github.com/users/jonathandann/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandann/subscriptions","organizations_url":"https://api.github.com/users/jonathandann/orgs","repos_url":"https://api.github.com/users/jonathandann/repos","events_url":"https://api.github.com/users/jonathandann/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandann/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T17:28:56Z","updated_at":"2016-04-06T17:28:56Z","body":"Thank you!"}}