{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/102","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/102/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/102/events","html_url":"https://github.com/fish-shell/fish-shell/issues/102","id":4999107,"number":102,"title":"Allow history file name customization","user":{"login":"ekoeppen","id":568452,"avatar_url":"https://avatars.githubusercontent.com/u/568452?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoeppen","html_url":"https://github.com/ekoeppen","followers_url":"https://api.github.com/users/ekoeppen/followers","following_url":"https://api.github.com/users/ekoeppen/following{/other_user}","gists_url":"https://api.github.com/users/ekoeppen/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoeppen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoeppen/subscriptions","organizations_url":"https://api.github.com/users/ekoeppen/orgs","repos_url":"https://api.github.com/users/ekoeppen/repos","events_url":"https://api.github.com/users/ekoeppen/events{/privacy}","received_events_url":"https://api.github.com/users/ekoeppen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"krader1961","id":7545917,"avatar_url":"https://avatars.githubusercontent.com/u/7545917?v=3","gravatar_id":"","url":"https://api.github.com/users/krader1961","html_url":"https://github.com/krader1961","followers_url":"https://api.github.com/users/krader1961/followers","following_url":"https://api.github.com/users/krader1961/following{/other_user}","gists_url":"https://api.github.com/users/krader1961/gists{/gist_id}","starred_url":"https://api.github.com/users/krader1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krader1961/subscriptions","organizations_url":"https://api.github.com/users/krader1961/orgs","repos_url":"https://api.github.com/users/krader1961/repos","events_url":"https://api.github.com/users/krader1961/events{/privacy}","received_events_url":"https://api.github.com/users/krader1961/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are bugs that are not targeted for an upcoming release. After a release, we will reexamine these bugs and pull any in that we think are good targets.\r\n\r\nIf you can provide a fix for a bug in this milestone, we'll generally accept it for the next release even if the bug is not in the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":372,"closed_issues":4,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-02-27T09:17:00Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2012-06-11T08:43:39Z","updated_at":"2016-02-27T10:28:36Z","closed_at":null,"body":"To have separate histories when using e.g. screen or logging in to a machine via multiple sessions, it should be possible to customize the history file name, for example using an environment variable. See https://github.com/ekoeppen/fish-shell/commit/ccfac2cfb9ccea02d71420968214b6f16db76bc4 for a possible implementation."},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/189616644","html_url":"https://github.com/fish-shell/fish-shell/issues/102#issuecomment-189616644","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/102","id":189616644,"user":{"login":"faho","id":5185367,"avatar_url":"https://avatars.githubusercontent.com/u/5185367?v=3","gravatar_id":"","url":"https://api.github.com/users/faho","html_url":"https://github.com/faho","followers_url":"https://api.github.com/users/faho/followers","following_url":"https://api.github.com/users/faho/following{/other_user}","gists_url":"https://api.github.com/users/faho/gists{/gist_id}","starred_url":"https://api.github.com/users/faho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faho/subscriptions","organizations_url":"https://api.github.com/users/faho/orgs","repos_url":"https://api.github.com/users/faho/repos","events_url":"https://api.github.com/users/faho/events{/privacy}","received_events_url":"https://api.github.com/users/faho/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T10:28:36Z","updated_at":"2016-02-27T10:28:36Z","body":">Also if I set FISH_HISTFILE, do I lose my history from this session and instead pick up whatever was in that other file?\r\n\r\nOne of the usecases that were mentioned for this was screencasting, where you don't _want_ your old commands to show up. So:\r\n\r\n>It seems natural that setting FISH_HISTFILE switches over to a different list, so it would not contain any prior commands.\r\n\r\nYes. Others were also going for the privacy angle."}}