zshrc: autoinstall ohmyzsh when not present
* useful for new machines
This commit is contained in:
parent
d53aaf1460
commit
e958c65101
5
zshrc
5
zshrc
|
@ -1,4 +1,7 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
[ ! -d ~/.oh-my-zsh ] && sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||
|
||||
export ZSH_CACHE_DIR="$ZSH/cache"
|
||||
|
||||
source ~/.zplug/init.zsh
|
||||
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
|
||||
zplug "zsh-users/zsh-autosuggestions", defer:2
|
||||
|
|
Loading…
Reference in New Issue