Last active
November 17, 2016 02:34
-
-
Save musou1500/57d5e6f2fa9b1851dd53df1ba365cf33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
cat << 'EOT' > $HOME/.zshenv | |
export XDG_CACHE_HOME="$HOME/.cache" | |
export XDG_CONFIG_HOME="$HOME/.config" | |
export XDG_DATA_HOME="$HOME/.local/share" | |
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" | |
EOT | |
. $HOME/.zshenv | |
if [ ! -d $ZDOTDIR ]; then | |
git clone "https://github.com/musou1500/zsh-config" $ZDOTDIR | |
. $ZDOTDIR/.zshrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment