Created
March 4, 2021 09:38
-
-
Save sohooo/f0eb264c8a4505fd8c79531ac56880b0 to your computer and use it in GitHub Desktop.
Lab Setup
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
# .dotvim files | |
git clone http://github.com/sohooo/dotvim2.git ~/.dotvim | |
vim -u ~/.dotvim/vimrc -c PlugInstall | |
# colorized cat | |
wget -c https://github.com/owenthereal/ccat/releases/download/v1.1.0/linux-amd64-1.1.0.tar.gz -O - | tar -xz | |
mkdir -p ~/.local/bin | |
cp -v ~/linux-amd64-1.1.0/ccat ~/.local/bin | |
# install lens | |
wget https://github.com/lensapp/lens/releases/download/v4.1.3/Lens-4.1.3.x86_64.rpm | |
sudo yum localinstall -y Lens* | |
# custom env | |
echo ' | |
set -o vi | |
alias c="ccat --bg=dark" | |
alias v="vim -u ~/.dotvim/vimrc" | |
export EDITOR=vim | |
' >> ~/.bashrc | |
source ~/.bashrc | |
# download labs | |
mkdir ~/materials && cd $_ | |
wget --recursive --no-parent http://content.example.com/courses/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment