You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#141 introduced ~/.gno as the default "home directory" used in gnokey. I see the PR has introduced it without much discussion, so I'd like to bring it up here (and eventually change that).
My personal preference is that I generally have a strong distaste for software that creates more directories in my home dir. On top of this, this is generally not equivalent across platforms (ie., while creating ~/.gno will succeed on Windows, it will not be a hidden directory).
My proposal is to use os.UserConfigDir() joined with "gno".
The default behaviour should still be backwards compatible, so if ~/.gno is an existing directory, then that should be used by default instead. And of course, $GNO_HOME is honoured as an environment var is set.
#141 introduced
~/.gno
as the default "home directory" used in gnokey. I see the PR has introduced it without much discussion, so I'd like to bring it up here (and eventually change that).My personal preference is that I generally have a strong distaste for software that creates more directories in my home dir. On top of this, this is generally not equivalent across platforms (ie., while creating ~/.gno will succeed on Windows, it will not be a hidden directory).
My proposal is to use
os.UserConfigDir()
joined with "gno".The default behaviour should still be backwards compatible, so if
~/.gno
is an existing directory, then that should be used by default instead. And of course,$GNO_HOME
is honoured as an environment var is set.(From discussion on #652)
The text was updated successfully, but these errors were encountered: