From f0bad52b426eade4b19538af832a332b144b8f16 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Thu, 31 Mar 2016 15:08:14 -0400 Subject: [PATCH 1/5] Update vim to use materialbox colorscheme --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index a596223..ed65d5f 100644 --- a/.vimrc +++ b/.vimrc @@ -27,8 +27,9 @@ set hlsearch set ignorecase set smartcase -colorscheme distinguished +colorscheme materialbox set background=dark +set t_ut= execute pathogen#infect() From e735c560694a5a26d46895ff2b7e6480920f94c9 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 4 May 2016 23:39:39 -0400 Subject: [PATCH 2/5] Set tex files to have linewidth 80 by default --- .ncmpcpp/config | 2 +- .vim/ftplugin/tex.vim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ncmpcpp/config b/.ncmpcpp/config index 350a6b5..d7f040f 100644 --- a/.ncmpcpp/config +++ b/.ncmpcpp/config @@ -166,7 +166,7 @@ playlist_disable_highlight_delay = "3" ## # song_list_format = "{$2%c$9: $5%C %t$9 {$7(%p)$9}}|{{{{$2%a$9}{ $4%b$9}: }{$5%t$9}}|{$5%f$9}}$R{$3(%l)$9}" -song_status_format = "{{$2%c$9: $5%C$9 }|{$2%a$9{ $4\"%b\"{ (%y)$9}} - }{$5%t$9}}|{$4%f$9}" +song_status_format = "{{$2%c$9: $5%C$9 }|{$2%a$9{ $4%b{ (%y)$9}} - }{$5%t$9}}|{$4%f$9}" song_library_format = "{%n - }{%t}|{%f}" # #tag_editor_album_format = "{(%y) }%b" diff --git a/.vim/ftplugin/tex.vim b/.vim/ftplugin/tex.vim index 0b9c779..00f8995 100644 --- a/.vim/ftplugin/tex.vim +++ b/.vim/ftplugin/tex.vim @@ -1,2 +1,3 @@ setlocal spell spelllang=en_us setlocal linebreak +setlocal textwidth=80 From 6492f83607b0daab1498a80796b204340fe7b6be Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 4 May 2016 23:51:17 -0400 Subject: [PATCH 3/5] Change git difftool to prompt, actually install .gitconfig --- .gitconfig | 2 +- install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index b7ceabc..0269ea2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -4,6 +4,6 @@ [diff] tool = vimdiff [difftool] - prompt = false + prompt = true [push] default = simple diff --git a/install.sh b/install.sh index f2525d9..22b892b 100755 --- a/install.sh +++ b/install.sh @@ -4,3 +4,4 @@ git submodule sync; git submodule update; rsync --exclude ".git/" --exclude ".git*" --exclude "install.sh" --exclude "py3status" -avhE --no-perms . ~; +cp ./.gitconfig ~/.gitconfig; From dab4e155136cb47108b8a6f74f3bf6d8264b3a3e Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Thu, 23 Jun 2016 22:06:47 -0700 Subject: [PATCH 4/5] add alias for ssh without keyfile --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index 9ca05d2..d727dac 100644 --- a/.zshrc +++ b/.zshrc @@ -41,6 +41,7 @@ alias ocamldebug='rlwrap ocamldebug' alias rm='rm -i' alias shell='ps -p $$ -o comm=' alias sml='rlwrap sml' +alias sshp='ssh -o PubkeyAuthentication=no' alias style='clang-format-3.5 -style=Google' alias telnet='rlwrap telnet' From 420f4f0899a2e350f36739a77dbb025f4e0fe76a Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 13 Jul 2016 23:06:31 -0400 Subject: [PATCH 5/5] Resuse kerberos credentials if valid when running afs --- bin/afs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/afs b/bin/afs index 520a556..70d7751 100755 --- a/bin/afs +++ b/bin/afs @@ -1,4 +1,10 @@ #!/bin/bash -kinit +klist -s +if [ $? -eq 0 ] +then + echo -e "\e[92mReusing old credentials\e[0m" +else + kinit +fi aklog klist