Sha256: 8f3c7d2d878bf262c452f5c92e6afddd948f381aaf1d32b1b098f2fc599e0fc7

Contents?: true

Size: 430 Bytes

Versions: 13

Compression:

Stored size: 430 Bytes

Contents

echo "Removing ~/.dots"
if [[ -d ~/.dots ]]
then
  rm -rf ~/.dots
fi

echo "Looking for an existing zsh config..."
if [ -f ~/.zshrc.pre-dots ] || [ -h ~/.zshrc.pre-dots ]
then
  echo "Restored ~/.zshrc from ~/.zshrc.pre-dots";
  rm ~/.zshrc;
  cp ~/.zshrc.pre-dots ~/.zshrc;
  source ~/.zshrc;
else
  echo "Switching back to bash"
  chsh -s /bin/bash
  source /etc/profile
fi

echo "Thanks for using DOTS, it's been uninstalled."

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zsh_dots-0.6.5 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.6.3 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.6.2 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.6.0 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.9 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.8 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.7 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.6 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.5 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.4 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.3 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.1 vendor/oh-my-zsh/uninstall.sh
zsh_dots-0.5.0 vendor/oh-my-zsh/uninstall.sh