From 3d75971df5f926ea4f962a0f7107ba26adf62b99 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 May 2014 12:05:13 +0300 Subject: [PATCH] bashrc & zshrc: add reset- aliases. Closes #29 . --- bashrc | 8 ++++++++ zshrc | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/bashrc b/bashrc index 1d540da0..570ef7ff 100644 --- a/bashrc +++ b/bashrc @@ -540,6 +540,14 @@ alias osx-set-updatecheck="defaults write /Library/Preferences/com.apple.Softwar alias python2-httpd="python -m SimpleHTTPServer" alias python3-httpd="python -m http.server" +# Resetting different desktop environments +alias reset-gnome="rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity ~/.cache ~/.dbus ~/.dmrc ~/.mission-control ~/.thumbnails ~/.config/dconf/user ~/.compiz*" +alias reset-unity="If you get error about command not found, please install 'unity-tweak-tool';unity-tweak-tool --reset-unity" +alias reset-kde="rm -rf ~/.kde4 ~/.kde" +alias reset-lxpanel="rm -rf ~/.config/lxpanel;lxpanelctl restart" +alias reset-xfce4="rm -rf ~/.config/xfce4" +alias reset-matepanel="mate-panel --reset" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/zshrc b/zshrc index e95b6b4d..c0ae85f9 100644 --- a/zshrc +++ b/zshrc @@ -511,6 +511,14 @@ alias osx-set-updatecheck="defaults write /Library/Preferences/com.apple.Softwar alias python2-httpd="python -m SimpleHTTPServer" alias python3-httpd="python -m http.server" +# Resetting different desktop environments +alias reset-gnome="rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity ~/.cache ~/.dbus ~/.dmrc ~/.mission-control ~/.thumbnails ~/.config/dconf/user ~/.compiz*" +alias reset-unity="If you get error about command not found, please install 'unity-tweak-tool';unity-tweak-tool --reset-unity" +alias reset-kde="rm -rf ~/.kde4 ~/.kde" +alias reset-lxpanel="rm -rf ~/.config/lxpanel;lxpanelctl restart" +alias reset-xfce4="rm -rf ~/.config/xfce4" +alias reset-matepanel="mate-panel --reset" + # .aliases if [ -f ~/.aliases ]; then source ~/.aliases