Last active
October 4, 2022 19:32
-
-
Save jackfischer/8c339abd54f22e2607cb97cae2679db2 to your computer and use it in GitHub Desktop.
ubuntu server 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
# https://fishshell.com/ | |
sudo apt-add-repository ppa:fish-shell/release-3 -y | |
sudo apt update | |
sudo apt install -y fish | |
chsh -s `which fish` | |
# git shortcuts | |
mkdir -p ~/.config/fish/ | |
touch ~/.config/fish/config.fish | |
echo " | |
alias gs='git status' | |
alias gc='git commit' | |
alias gp='git pull' | |
alias gpush='git push' | |
alias ga='git add' | |
alias gaa='git add --all' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gr='git remote -v' | |
alias gb='git branch' | |
alias gco='git checkout' | |
alias l='ls -alh' | |
alias nrb='npm run build' | |
alias nrd='npm run dev' | |
alias npi='npm install' | |
" >> ~/.config/fish/config.fish | |
git config --global core.editor "vim" | |
# https://github.com/sharkdp/hyperfine#on-ubuntu | |
wget https://github.com/sharkdp/hyperfine/releases/download/v1.14.0/hyperfine_1.14.0_amd64.deb | |
sudo dpkg -i hyperfine_1.14.0_amd64.deb | |
sudo apt-get install -y git htop tig ncdu tree unattended-upgrades | |
# https://spacevim.org/quick-start-guide/ | |
curl -sLf https://spacevim.org/install.sh | bash | |
# https://github.com/BurntSushi/ripgrep#installation | |
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb | |
sudo dpkg -i ripgrep_13.0.0_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment