{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/15067","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/15067/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/15067/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/15067/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/15067","id":162010295,"number":15067,"title":"26216828: Mac OS X 10.11.4: Terminal.app should permit faving a command line","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:feature%20(new)","name":"classification:feature (new)","color":"207de5"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:not%20applicable","name":"reproducible:not applicable","color":"d4c5f9"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/6","html_url":"https://github.com/lionheart/openradar-mirror/milestones/OS%20X","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/6/labels","id":1237420,"number":6,"title":"OS X","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":1373,"closed_issues":1,"state":"open","created_at":"2015-08-03T02:08:32Z","updated_at":"2016-06-23T20:01:23Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-06-23T20:01:23Z","updated_at":"2016-06-23T20:01:23Z","closed_at":null,"body":"#### Description\n\nTerminal.app keeps a history of commands typed in. Often, this history contains mis-typed lines, ones with missing parameters etc. OTOH I run some commands every month, so they're always far away in the history, but they're not complex enough to create a dedicated shell script for them (like undoing the last commit in Git, or whatever).\n\nIt would be great if Terminal.app allowed favoriting items in the history. I suppose that would require a special variant of readline and similar libraries, but I presume Terminal already has that, given it can draw these little grey brackets next to old prompts these days.\n\nHow favoriting could work:\n1. There'd be an asterisk next to the command prompt.\n2. Clicking that asterisk turns it from outline to solid, to indicate this line is favorited. Clicking it again would undo the favoriting.\n3. Favorited lines get inserted into the history, say, after the 3 most recent items, or maybe even at the very start.\n4. Paging through the history (e.g. using arrow-up/down) would also update the asterisk to indicate if a line is a favorite or not. Clicking that arrow would then un-favorite or favorite that history entry.\n\nWould be very handy for that kind of little snippet, and a fairly self-explanatory UI.\n\n-\nProduct Version: Mac OS X 10.11.4 (15E65)\nCreated: 2016-05-11T08:15:00.523540\nOriginated: 2016-05-11T10:14:00\nOpen Radar Link: http://www.openradar.me/26216828"}}
{"actor":{"display_login":"openradar-mirror"}}