summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig8
-rw-r--r--.msmtprc21
-rw-r--r--.muttrc25
-rw-r--r--.vimrc13
-rw-r--r--.zshrc56
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
diff --git a/.muttrc b/.muttrc
new file mode 100644
index 0000000..5c25aa6
--- /dev/null
+++ b/.muttrc
@@ -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"
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..369f6e1
--- /dev/null
+++ b/.vimrc
@@ -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
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..a80cd7c
--- /dev/null
+++ b/.zshrc
@@ -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