I have been using pass for some time to store passwords, but now I want to move my password store from the default location. According to the man page, it is enough to set
PASSWORD_STORE_DIR variable to the desired path to override the default one, however in my case this has no effect.
After I move the
.password-store folder to a new location and set the environment variable, executing the command
pass results in "Error: password store is empty. Try "pass init".". Even if simply renaming the
.password-store inside home directory:
$ mv .password-store .pass
$ PASSWORD_STORE_DIR=/home/bakhtin/.pass #bakhtin is the user name
Error: password store is empty. Try "pass init".
Any ideas on what the problem might be? I made sure the are no spelling errors in the variable's name and such.