Last active
May 22, 2023 06:06
-
-
Save gythialy/55561765f010728a66da3332f8525d5b to your computer and use it in GitHub Desktop.
install and config zsh tmux
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| cd $HOME | |
| # install zsh and tmux | |
| yum -y install git zsh tmux | |
| echo "setting antigen and zsh" | |
| curl -L git.io/antigen > /opt/antigen.zsh | |
| echo "source /opt/antigen.zsh | |
| # Load the oh-my-zsh's library. | |
| antigen use oh-my-zsh | |
| # Bundles from the default repo (robbyrussell's oh-my-zsh). | |
| antigen bundle command-not-found | |
| antigen bundle docker | |
| antigen bundle docker-compose | |
| antigen bundle gem | |
| antigen bundle git | |
| antigen bundle golang | |
| antigen bundle ng | |
| antigen bundle pip | |
| # Syntax highlighting bundle. | |
| antigen bundle zsh-users/zsh-syntax-highlighting | |
| antigen bundle zsh-users/zsh-completions | |
| antigen bundle zsh-users/zsh-autosuggestions | |
| antigen bundle zsh-users/zsh-apple-touchbar | |
| # Load the theme. | |
| # antigen theme fishy | |
| antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship | |
| # Tell Antigen that you're done. | |
| antigen apply" >> ~/.zshrc | |
| echo "setting tmux" | |
| git clone https://github.com/gythialy/.tmux.git | |
| ln -s -f .tmux/.tmux.conf | |
| cp .tmux/.tmux.conf.local . | |
| echo "done." |
This file contains hidden or 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
| curl -s -L https://git.io/JvS0q | bash | |
| curl https://git.io/ -i -F "url=https://gist.github.com/gythialy/55561765f010728a66da3332f8525d5b" -F "code=QLC" |
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| cd $HOME | |
| # install zsh and tmux | |
| apt-get -y install git zsh tmux | |
| echo "setting antigen and zsh" | |
| curl -L git.io/antigen > /opt/antigen.zsh | |
| echo "source /opt/antigen.zsh | |
| # Load the oh-my-zsh's library. | |
| antigen use oh-my-zsh | |
| # Bundles from the default repo (robbyrussell's oh-my-zsh). | |
| antigen bundle command-not-found | |
| antigen bundle docker | |
| antigen bundle docker-compose | |
| antigen bundle gem | |
| antigen bundle git | |
| antigen bundle golang | |
| antigen bundle ng | |
| antigen bundle pip | |
| # Syntax highlighting bundle. | |
| antigen bundle zsh-users/zsh-syntax-highlighting | |
| antigen bundle zsh-users/zsh-completions | |
| antigen bundle zsh-users/zsh-autosuggestions | |
| antigen bundle zsh-users/zsh-apple-touchbar | |
| # Load the theme. | |
| # antigen theme fishy | |
| antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship | |
| # Tell Antigen that you're done. | |
| antigen apply" >> ~/.zshrc | |
| echo "setting tmux" | |
| rm -rf && git clone https://github.com/gythialy/.tmux.git | |
| ln -s -f .tmux/.tmux.conf | |
| cp .tmux/.tmux.conf.local . | |
| echo "done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment