{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3542","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3542/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3542/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3542/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3542","id":188887865,"number":3542,"title":"`set` output should indicate if variables are local, universal, exported, etc.","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"labels":[{"id":4724778,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":402356383,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/RFC","name":"RFC","color":"ffefe5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-11-12T02:47:07Z","updated_at":"2016-11-13T19:34:22Z","closed_at":null,"body":"I think typing `set` without arguments ought to indicate the nature of various variables. \r\n\r\nAn obvious way to do this would be for it to simply output commands that could recreate them.\r\n\r\ne.g..\r\n```\r\n$ set\r\nset -x LANG en_US.UTF-8\r\nset -U fish_color_autosuggestion 333\r\nset -Ux TERMINFO /usr/local/Cellar/ncurses/6.0_2/share/terminfo/\r\n...\r\n```\r\n\r\nOr: \r\n```\r\n$ set\r\nLANG 'en_US.UTF-8' (exported)\r\nfish_color_autosuggestion '333' (universal)\r\nTERMINFO '/usr/local/Cellar/ncurses/6.0_2/share/terminfo/' (universal, exported)\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/260206835","html_url":"https://github.com/fish-shell/fish-shell/issues/3542#issuecomment-260206835","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3542","id":260206835,"user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T19:34:22Z","updated_at":"2016-11-13T19:34:22Z","body":"> You can already get a list of variables with various scopes using set -g, set -l, set -Ux etc.\r\n\r\nThat feels kind of roundabout to me."}}
{"actor":{"display_login":"floam"}}