Skip to content

Instantly share code, notes, and snippets.

@3ZsForInsomnia
Last active December 25, 2019 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3ZsForInsomnia/234409331d0e01851a5e4cf1402c604d to your computer and use it in GitHub Desktop.
Save 3ZsForInsomnia/234409331d0e01851a5e4cf1402c604d to your computer and use it in GitHub Desktop.
Pull the latest config using gist cli
# get 8ball.sh
curl https://gist.githubusercontent.com/3ZsForInsomnia/d51754d5b1359f30b4c203fe30ab9ce5/raw/8c058a423826736e35c8359f5f720fd63f40d17a/8ball.sh > 8ball.sh
chmod +x 8ball.sh
# get pomo.sh
curl https://gist.githubusercontent.com/3ZsForInsomnia/38904db41b40eee4498d1cf5e416ad50/raw/6f19a47d241152540284148473da49e60d982f15/pomo.sh > pomo.sh
chmod +x pomo.sh
# get bookmarks for zshmarks
curl https://gist.githubusercontent.com/3ZsForInsomnia/005449d0adaa90d798f4bc0b93bebe27/raw/99980283642d6b780dd4e4a7e9ca2e31ba203250/.bookmarks > .bookmarks
# get brew list or apt-get list, and install the list
curl https://gist.githubusercontent.com/3ZsForInsomnia/8dade12e382afa0be6ee59d1b6b73d05/raw/f8dd10e27ed8b15d4a200df63cb65f10f95a4bb9/brew%2520list%2520results > brewList.txt
if ($OS=="OSX")
then
curl https://gist.githubusercontent.com/3ZsForInsomnia/8dade12e382afa0be6ee59d1b6b73d05/raw/f8dd10e27ed8b15d4a200df63cb65f10f95a4bb9/brew%2520list%2520results > brewList.txt
xargs brew install < brew.txt
fi
# get lipsum
curl https://gist.githubusercontent.com/3ZsForInsomnia/51ed1de1f9e80402dde716ff03d5a311/raw/46cb261f129e470733398dfebaf90b6513f94f07/lipsum > lipsum.sh
chmod +x lipsum.sh
# get bashprofile
curl https://gist.githubusercontent.com/3ZsForInsomnia/d968207d98c8984849ca2f7349e8ac48/raw/7ee83fbef0cd7671e9211b85cabb6a559b0a173b/bash_profile > .bash_profile
# get bash_rc
curl https://gist.githubusercontent.com/3ZsForInsomnia/903202277e1f22dd06fbc7127363c795/raw/85220659ddbd2b13beace555d387641997e79a79/.bashrc > .bashrc
# get zshrc and install necessary items to zsh such as antigen/oh-my-zsh
curl https://gist.githubusercontent.com/3ZsForInsomnia/f05dabf617e353a98f5faa051704dafb/raw/916a8086d6524027d10ee822290d88024bec49db/.zshrc > .zshrc
if ($OS=="OSX")
then
brew install iterm2 oh-my-zsh python
pip install --user powerline-status
fi
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
curl -L git.io/antigen > antigen.zsh
source ~/.zsh
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl https://gist.githubusercontent.com/3ZsForInsomnia/ed2ac2193c29b43b07a56ffb5b55d8fd/raw/521e5e402cf08f8c24254dec6230a4d13206e60f/.vimrc > .vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment