From 4df3bd7d46e8f75881ae4500758d0440a85f5f95 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 10 Jan 2016 22:52:56 +0100 Subject: [PATCH 1/6] Reverting accidental removal of integrity check. --- zsh_functions | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh_functions b/zsh_functions index 8646175..131c88f 100644 --- a/zsh_functions +++ b/zsh_functions @@ -85,6 +85,7 @@ virtual_env_prompt() { } delete-old-archives() { + sudo tarsnap --fsck archives=$(sudo tarsnap --list-archives | sort) del_archives=$(echo $archives | head -n $(($(echo $archives | wc -l) - 3))) del_archives=("${(@f)del_archives}") From 3ca94e0fe4a530548fb08080f7a5d4ce1807c322 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 2 Mar 2016 17:53:58 +0100 Subject: [PATCH 2/6] Changing systemd editor to vim. --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index 0ab3ab6..a00e58c 100644 --- a/zshrc +++ b/zshrc @@ -15,6 +15,7 @@ then fi source ~/.zsh_functions export EDITOR=vim +export SYSTEMD_EDITOR=vim alias sudo='sudo ' alias tasks="ps -u fab" From 68ea49c5391de5f880406fe4058ea36b224c7676 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 2 Mar 2016 17:54:30 +0100 Subject: [PATCH 3/6] Adding sudo to update-grub. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 090a897..f2c173a 100644 --- a/zshrc +++ b/zshrc @@ -18,7 +18,7 @@ export EDITOR=vim alias sudo='sudo ' alias tasks="ps -u fab" -alias update-grub="grub-mkconfig -o /boot/grub/grub.cfg" +alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" alias sml2p='/home/fab/.Sync-my-L2P/Sync-my-L2P.run' alias ssh='ssh ' alias ping='ping ' From 6c2ea396e71f4d50ff4485573e8ed62ecc79ed5f Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sat, 26 Mar 2016 00:12:07 +0100 Subject: [PATCH 4/6] Pushing tags automatically. --- gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/gitconfig b/gitconfig index 3b1a982..ebd349e 100644 --- a/gitconfig +++ b/gitconfig @@ -9,3 +9,4 @@ pager = less -F -X [push] default = simple + followTags = true From b7e17d4a2f2306efdc01d6be4616fd4e1c850485 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 28 Mar 2016 22:38:21 +0200 Subject: [PATCH 5/6] Updating vim plugins. --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 50801f2..8574d3a 100644 --- a/vimrc +++ b/vimrc @@ -19,7 +19,8 @@ if exists("*vundle#begin") Plugin 'honza/vim-snippets' Plugin 'alfredodeza/coveragepy.vim' Plugin 'tikhomirov/vim-glsl' - Plugin 'ntpeters/vim-better-whitespace' + Plugin 'chrisbra/vim-show-whitespace' + Plugin 'krisajenkins/vim-projectlocal' " All of your Plugins must be added before the following line call vundle#end() " required From 748fcd23985f26960288c348ac3dacd6f8b1964b Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 28 Mar 2016 22:48:32 +0200 Subject: [PATCH 6/6] Highlight chars after column 80 in vim. --- vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc b/vimrc index 8574d3a..cb27b7a 100644 --- a/vimrc +++ b/vimrc @@ -72,3 +72,6 @@ au FileType python :imap "Map on Latex files au FileType tex :map :! if [ -f Makefile ]; then; make; else; pdflatex %:t; rm *.aux; rm *.log; fi + +"Highlight chars after column 80 +match ErrorMsg '\%>80v.\+'