diff options
author | Matt Turner <mattst88@gmail.com> | 2015-10-21 21:35:40 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-10-21 21:35:40 -0700 |
commit | f27da6e325cf298fe5a46c57585a12c9e718fa71 (patch) | |
tree | df5b06a6d535fdf1b231c96652845e9b200db005 |
Initial commit.
-rw-r--r-- | .gitconfig | 8 | ||||
-rw-r--r-- | .msmtprc | 21 | ||||
-rw-r--r-- | .muttrc | 25 | ||||
-rw-r--r-- | .vimrc | 13 | ||||
-rw-r--r-- | .zshrc | 56 |
5 files changed, 123 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..78f3329 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,8 @@ +[user] + email = mattst88@gmail.com + name = Matt Turner + signingkey = 0x0FDD682D974CA72A +[color] + ui = auto +[rebase] + autosquash = true diff --git a/.msmtprc b/.msmtprc new file mode 100644 index 0000000..c21775d --- /dev/null +++ b/.msmtprc @@ -0,0 +1,21 @@ +defaults +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.msmtp.log + +account gmail +host smtp.gmail.com +port 587 +from mattst88@gmail.com +auth on +user mattst88 +passwordeval "gpg --quiet --for-your-eyes-only --no-tty -d ~/.password-store/email/msmtp-mattst88@gmail.com.gpg" + +account gentoo +host smtp.gentoo.org +port 587 +from mattst88@gentoo.org +auth on +user mattst88 + +account default : gmail @@ -0,0 +1,25 @@ +set realname="Matt Turner" +set from="mattst88@gmail.com" + +### PGP +set pgp_sign_as=0x974CA72A +set pgp_auto_decode = yes +set pgp_use_gpg_agent = yes +set pgp_autosign=yes +set pgp_replyencrypt=yes + +set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" +set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" +set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" +set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" +set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" +set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x974CA72A -- -r %r -- %f" +set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x974CA72A -- -r %r -- %f" +set pgp_import_command="gpg --no-verbose --import -v %f" +set pgp_export_command="gpg --no-verbose --export --armor %r" +set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" +set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" +set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" + +set pgp_timeout=1800 +set pgp_good_sign="^gpg: Good signature from" @@ -0,0 +1,13 @@ +autocmd BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl,*.shader_test set syntax=glsl + +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/* set expandtab tabstop=8 softtabstop=3 shiftwidth=3 +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/src/glsl/glcpp/* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/src/glsl/glsl_parser.yy set noexpandtab tabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead /home/mattst88/projects/piglit/* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead Makefile* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead *.mk set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 + +autocmd BufNewFile,BufRead *.py set tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab + +set bg=dark +set modeline @@ -0,0 +1,56 @@ +#!/bin/zsh + +autoload -U compinit +compinit + +zstyle ':completion:*:descriptions' format '%U%B%d%b%u' +zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b' + +unsetopt correctall +unsetopt equals + +autoload -U promptinit +promptinit + +prompt gentoo + +export HISTSIZE=5000 +export HISTFILE="$HOME/.history" +export SAVEHIST=$HISTSIZE +setopt hist_ignore_all_dups +setopt hist_ignore_space + +# Breaks "eix ^asdf" +# setopt extendedglob + +bindkey "^[[H" beginning-of-line +bindkey "^[[1~" beginning-of-line +bindkey "^[OH" beginning-of-line +bindkey "^[[F" end-of-line +bindkey "^[[4~" end-of-line +bindkey "^[OF" end-of-line +bindkey ' ' magic-space # also do history expansion on space +bindkey '^R' history-incremental-search-backward + +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + +bindkey '^[[Z' reverse-menu-complete + +# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~ +bindkey '^?' backward-delete-char +bindkey "^[[3~" delete-char +bindkey "^[3;5~" delete-char +bindkey "\e[3~" delete-char + +export PATH=:$PATH:~/bin + +if [ -f "${HOME}/.gpg-agent-info" ]; then + . "${HOME}/.gpg-agent-info" + export GPG_AGENT_INFO + export SSH_AUTH_SOCK +fi +export GPG_TTY=$(tty) + +. /etc/profile.d/autojump.sh +. /etc/profile.d/vte-2.91.sh |