mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
df318488c9
This adds `./test-in-docker` for quickly playing with various frameworks. All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2. Thanks to @dritter for figuring out all the framework installation methods.
18 lines
479 B
Bash
18 lines
479 B
Bash
#!/bin/zsh
|
|
|
|
set -eu
|
|
|
|
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
|
|
|
|
setopt EXTENDED_GLOB
|
|
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
|
|
ln -nsf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
|
done
|
|
|
|
ln -s "${HOME}/p9k/powerlevel9k.zsh-theme" \
|
|
"${HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup"
|
|
|
|
echo "zstyle ':prezto:module:prompt' theme 'powerlevel9k'" \
|
|
>> "${HOME}/.zpreztorc"
|
|
|
|
# EOF
|