Skip to content

Instantly share code, notes, and snippets.

@karlkeefer
Last active March 15, 2024 00:44
Show Gist options
  • Save karlkeefer/7042046fd23545c70f17ee84ec7b6acb to your computer and use it in GitHub Desktop.
Save karlkeefer/7042046fd23545c70f17ee84ec7b6acb to your computer and use it in GitHub Desktop.
Setup a fresh ubuntu install with my custom goodies
#!/bin/sh
# install basic stuff
sudo apt update && sudo apt install git vim
# install docker/docker compose....
# exercise left to the reader depending on distro and versions and stuff
# add user to docker group
sudo usermod -aG docker $USER
# setup git aliases with completion
echo "
alias gb=\"git branch\"
alias gl=\"git pull\"
alias gst=\"git status\"
alias gp=\"git push\"
alias gd=\"git diff\"
alias glg=\"git log\"
alias gco=\"git checkout\"
alias gc=\"git commit\"
alias gca=\"git commit -a\"
alias ga=\"git add\"
" > ~/.bash_aliases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment