{"action":"closed","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1965","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1965/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1965/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1965/events","html_url":"https://github.com/fish-shell/fish-shell/issues/1965","id":59480132,"number":1965,"title":"fish: No matches for wildcard - in script","user":{"login":"ElijahLynn","id":1504756,"avatar_url":"https://avatars.githubusercontent.com/u/1504756?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahLynn","html_url":"https://github.com/ElijahLynn","followers_url":"https://api.github.com/users/ElijahLynn/followers","following_url":"https://api.github.com/users/ElijahLynn/following{/other_user}","gists_url":"https://api.github.com/users/ElijahLynn/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahLynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahLynn/subscriptions","organizations_url":"https://api.github.com/users/ElijahLynn/orgs","repos_url":"https://api.github.com/users/ElijahLynn/repos","events_url":"https://api.github.com/users/ElijahLynn/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahLynn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-02T13:20:55Z","updated_at":"2015-03-04T13:24:43Z","closed_at":"2015-03-04T13:24:43Z","body":"I normally run this on the command line and just surround the single argument with single or double quoutes and it works fine. When called inside the function though it doesn't get escaped. If I surround the $argv[1] with quotes in the function it produces the same result. Do I need to concatenate quotes around this or is there an easier way?\r\n\r\n\r\n```\r\nfunction ytd\r\n    youtube-dl -t $argv[1] \r\nend\r\n```\r\n\r\nytd https://www.youtube.com/watch?v=M4spK4QeUKY\r\nfish: No matches for wildcard 'https://www.youtube.com/watch?v=M4spK4QeUKY'.\r\nytd https://www.youtube.com/watch?v=M4spK4QeUKY\r\n"}}