Migrates oh-my-zsh to ohmyzsh
This commit is contained in:
parent
7f5c6be48e
commit
7af74e7570
12
zshrc
12
zshrc
|
@ -1,11 +1,21 @@
|
||||||
# ~/.zshrc
|
# ~/.zshrc
|
||||||
|
|
||||||
|
# Migrates from robbyrussell/oh-my-zsh to ohmyzsh/ohmyzsh
|
||||||
|
# This only needs to stay here temporarily until everyone executed it.
|
||||||
|
if [ -d $HOME/.config/oh-my-zsh ]; then
|
||||||
|
local oldwd=$PWD
|
||||||
|
mv $HOME/.config/oh-my-zsh/ $HOME/.config/ohmyzsh
|
||||||
|
cd $HOME/.config/ohmyzsh
|
||||||
|
git remote set-url origin https://github.com/ohmyzsh/ohmyzsh
|
||||||
|
cd $oldpw
|
||||||
|
fi
|
||||||
|
|
||||||
# Path to the dotfiles
|
# Path to the dotfiles
|
||||||
DOTFILES=$HOME/.config/dotfiles
|
DOTFILES=$HOME/.config/dotfiles
|
||||||
DISABLE_AUTO_UPDATE="true"
|
DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
# Path to your oh-my-zsh configuration
|
# Path to your oh-my-zsh configuration
|
||||||
ZSH=$HOME/.config/oh-my-zsh
|
ZSH=$HOME/.config/ohmyzsh
|
||||||
ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/ohmyzsh
|
ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/ohmyzsh
|
||||||
|
|
||||||
ZSH_THEME="laptop"
|
ZSH_THEME="laptop"
|
||||||
|
|
Loading…
Reference in New Issue