I am kind of a beginner with Linux and just started using pass
for managing my passwords. I try to keep my home directory rather clean but pass
created 2 dotfiles (.gnupg
and .password-store
) that I don't know how to move to other directories (.local
/ .config
/ .cache
). I know I can link them, but it doesn't solve the problem of dotfiles in ~/
.
$ ls -a
.cache
.config
Desktop
Documents
Downloads
.gnupg
.local
Music
.password-store
Pictures
Videos
Specified problem: is there a way to move .gnupg
and .password-store
to another directory and still use them?
There is PREFIX
variable in binary that defines it but I do not really know how to change it.
PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"