Last active
September 21, 2022 08:14
-
-
Save rammanokar/2312e523279629561848bda701c6cbe1 to your computer and use it in GitHub Desktop.
simple script to prepare bastion server
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
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it | |
~/.bash_it/install.sh | |
# install fzf | |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | |
~/.fzf/install --all | |
#install zoxide | |
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash | |
#install tpm plugin manager | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
#install k9s | |
wget 'https://github.com/derailed/k9s/releases/download/v0.26.0/k9s_Linux_x86_64.tar.gz' | |
tar -xvzf k9s_Linux_x86_64.tar.gz k9s | |
mv k9s /usr/local/bin/k9s | |
rm k9s_Linux_x86_64.tar.gz | |
wget 'https://gist.githubusercontent.com/rammanokar/45b74e2df1f790d2c279e2c70e9a87ff/raw/0a44c40ccecde675d4bd958c83dff6dfff7ecdbf/.tmux.conf' | |
# activate bash-it plugin and completion | |
source ~/.bashrc && bashit enable completion kubectl git docker && bashit enable plugin fzf zoxide | |
echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment