This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install pass and its dependencies: http://www.passwordstore.org/#download | |
#Generate a gpg key if you don't have one already. | |
gpg --gen-key | |
#Create a git (or mercurial) repository. Needless to say, you should NOT be checking this repo in to a system you don't control. | |
#Make two directories within it: | |
mkdir /path/to/repo/pubkeys /path/to/repo/store | |
#Set the PASSWORD_STORE_DIR environment variable to the store directory: | |
export PASSWORD_STORE_DIR="/path/to/repo/store" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you're in an environment where your login shell isn't changeable (perhaps an educational institution) | |
but you still have the option to use zsh, you might want to have it log in to zsh automatically. | |
Some clever .bashrc will take care of that in a jiffy. | |
Put the following at the bottom of your .bashrc: | |
----- | |
# Start ssh-agent | |
# If (like me) you've got an NFS-mounted home directory, | |
# you might only want to start ssh-agent from the first machine you log in to. |