Skip to content

Instantly share code, notes, and snippets.

@thallium
Last active July 5, 2024 20:47
Show Gist options
  • Save thallium/2b482f2df620a7d92a6022c88e3e6f17 to your computer and use it in GitHub Desktop.
Save thallium/2b482f2df620a7d92a6022c88e3e6f17 to your computer and use it in GitHub Desktop.
shell script to setup my zsh environment
#!/bin/sh
ZDOTDIR=$HOME/.config/zsh
git clone https://github.com/zsh-users/zsh-autosuggestions $ZDOTDIR/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZDOTDIR/zsh-syntax-highlighting
git clone https://github.com/jeffreytse/zsh-vi-mode.git $ZDOTDIR/zsh-vi-mode
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZDOTDIR/powerlevel10k
curl -sSL https://raw.githubusercontent.com/junegunn/fzf/master/shell/key-bindings.zsh > $ZDOTDIR/key-bindings.zsh
curl -sSL https://raw.githubusercontent.com/thallium/dotfiles/master/dot_config/zsh/aliases.zsh > $ZDOTDIR/aliases.zsh
curl -sSL https://raw.githubusercontent.com/thallium/dotfiles/master/dot_config/zsh/func.zsh > $ZDOTDIR/func.zsh
curl -sSL https://raw.githubusercontent.com/thallium/dotfiles/master/dot_config/zsh/dot_zshrc > $ZDOTDIR/.zshrc
curl -sSL https://raw.githubusercontent.com/thallium/dotfiles/master/dot_config/zsh/p10k.zsh > $ZDOTDIR/p10k.zsh
echo 'export ZDOTDIR=$HOME/.config/zsh' >> ~/.zshenv
cd $ZDOTDIR/zsh-vi-mode
curl https://gist.githubusercontent.com/thallium/476d306469fd6af860c8d6676d3e0cae/raw/b46b3caeb9dd2d4eeaf98cf6746de771db98db06/remove.patch | git apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment