diff --git a/Makefile b/Makefile index c2b3681..259d4b7 100644 --- a/Makefile +++ b/Makefile @@ -13,25 +13,24 @@ backup: mv ~/.gitignore ~/.gitignore.bak || true bash: - test -e ~/.subbash || \ + test -d ~/.subbash || \ ln -s $(PWD)/sub/bash ~/.subbash ln -s ~/.subbash/bashrc ~/.bashrc zsh: - test -e ~/.subzsh || \ + test -d ~/.subzsh || \ ln -s $(PWD)/sub/zsh ~/.subzsh ln -s ~/.subzsh/zshrc ~/.zshrc mkdir ~/.subzsh/plugins git clone https://github.com/zsh-users/zsh-autosuggestions ~/.subzsh/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.subzsh/plugins/zsh-syntax-highlighting - tmux: ln -s $(PWD)/sub/tmux/tmux.conf ~/.tmux.conf vim: echo "set editing-mode vi" >> ~/.inputrc - test -e ~/.vim || \ + test -d ~/.vim || \ ln -s $(PWD)/sub/vim ~/.vim ln -s ~/.vim/vimrc ~/.vimrc mkdir -p ~/.config/nvim @@ -47,9 +46,15 @@ git: ln -s $(PWD)/sub/git/gitignore ~/.gitignore ranger: - test -e ~/.config/ranger || \ + test -d ~/.config/ranger || \ mkdir -p ~/.config/ranger ln -s $(PWD)/sub/ranger/rc.conf ~/.config/ranger mkdir -p ~/.config/ranger/plugins git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons +gpg: + test -d ~/.gnupg || \ + mkdir -p ~/.gnupg + cat $(PWD)/sub/gpg/gpg.conf >> ~/.gnupg/gpg.conf + echo -e "default-cache-ttl 1\nmax-cache-ttl 1" > ~/.gnupg/gpg-agent.conf; echo RELOADAGENT | gpg-connect-agent + diff --git a/sub/gpg/gpg.conf b/sub/gpg/gpg.conf new file mode 100644 index 0000000..5793d0c --- /dev/null +++ b/sub/gpg/gpg.conf @@ -0,0 +1,13 @@ +throw-keyids + +# Disable inclusion of the version string in ASCII armored output +no-emit-version + +# Disable comment string in clear text signatures and ASCII armored messages +no-comments + +# Display long key IDs +keyid-format 0xlong + +# List all keys (or the specified ones) along with their fingerprints +with-fingerprint