From 63273e3895876275e7bf570b476e815b113b7bb1 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Tue, 15 Jul 2014 20:42:09 +0300 Subject: [PATCH] bashrc & zshrc: add alias purgeconfig Closes #38 --- bashrc | 3 +++ zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bashrc b/bashrc index 6d7c4455..deb8a063 100644 --- a/bashrc +++ b/bashrc @@ -538,6 +538,9 @@ alias peminfo="openssl x509 -text -in" # tmux emergency attach alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach" +# Reset configuration files on systems using apt +alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/zshrc b/zshrc index 8f7da152..bcedf6de 100644 --- a/zshrc +++ b/zshrc @@ -508,6 +508,9 @@ alias peminfo="openssl x509 -text -in" # tmux emergency attach alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach" +# Reset configuration files on systems using apt +alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask" + # .aliases if [ -f ~/.aliases ]; then source ~/.aliases