[ https://issues.apache.org/jira/browse/GEODE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664935#comment-15664935 ]
ASF GitHub Bot commented on GEODE-2098: --------------------------------------- Github user metatype commented on the issue: https://github.com/apache/incubator-geode/pull/283 Agreed. This could be handled in a release note: “If you want to preserve your gfsh history, please copy…” Anthony > On Nov 14, 2016, at 10:57 AM, Dan Smith <notificati...@github.com> wrote: > > IMO losing your gfsh history on an upgrade is probably not a big deal. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <https://github.com/apache/incubator-geode/pull/283#issuecomment-260427020>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACqT2dEBRv5RJyZjnBFGW1o76-yAooPwks5q-K7_gaJpZM4KxirC>. > > gfsh history should be stored in ~/.geode > ----------------------------------------- > > Key: GEODE-2098 > URL: https://issues.apache.org/jira/browse/GEODE-2098 > Project: Geode > Issue Type: Improvement > Components: docs, gfsh > Reporter: Anthony Baker > Assignee: Avinash Dongre > > Currently gfsh stores history in the ~/.gemfire directory. We should change > that to be ~/.geode. > {code} > private static String getHomeGemFireDirectory() { > String userHome = System.getProperty("user.home"); > String homeDirPath = userHome + "/.gemfire"; > File alternateDir = new File(homeDirPath); > if (!alternateDir.exists()) { > if (!alternateDir.mkdirs()) { > homeDirPath = "."; > } > } > return homeDirPath; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)