From 4df3bd7d46e8f75881ae4500758d0440a85f5f95 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 10 Jan 2016 22:52:56 +0100 Subject: [PATCH 1/2] 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 68ea49c5391de5f880406fe4058ea36b224c7676 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 2 Mar 2016 17:54:30 +0100 Subject: [PATCH 2/2] 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 '