Skip to content

Instantly share code, notes, and snippets.

@royerk
Last active March 7, 2023 21:57
Show Gist options
  • Save royerk/80041f4e03a0ad054857b3662b92ea4e to your computer and use it in GitHub Desktop.
Save royerk/80041f4e03a0ad054857b3662b92ea4e to your computer and use it in GitHub Desktop.
Basic linux setup
ssh-keygen
sudo apt install git
sudo apt install curl zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# log out then back in
# vscode: https://code.visualstudio.com/docs/?dv=linux64_deb
sudo dpkg -i code_1.75.1-1675893397_amd64.deb
# list graphic cards
hwinfo --gfxcard --short
# lastest poetry
curl -sSL https://install.python-poetry.org | python3 -
# You can uninstall at any time by executing this script with the --uninstall option,
echo 'export PATH="/home/kevin/.local/bin:$PATH"' >> ~/.zshrc
# https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
# also in .bashrc
echo "alias ga='git add'" >> ~/.zshrc
echo "alias gc='git commit'" >> ~/.zshrc
echo "alias gpo='git push origin'" >> ~/.zshrc
echo "alias gst='git status'" >> ~/.zshrc
echo "alias gh = 'history | grep'" >> ~/.zshrc
# spotify
curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment