mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: add reset- aliases. Closes #29 .
This commit is contained in:
parent
38a58a954e
commit
3d75971df5
8
bashrc
8
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
|
||||
|
8
zshrc
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user