Last active
March 15, 2024 00:44
-
-
Save karlkeefer/7042046fd23545c70f17ee84ec7b6acb to your computer and use it in GitHub Desktop.
Setup a fresh ubuntu install with my custom goodies
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
#!/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