Skip to content

Instantly share code, notes, and snippets.

@trovster
Created April 6, 2022 09:19
Show Gist options
  • Save trovster/df1232e0dde28de3b1d64727b0673991 to your computer and use it in GitHub Desktop.
Save trovster/df1232e0dde28de3b1d64727b0673991 to your computer and use it in GitHub Desktop.
Setting up Ubuntu for consistent DX
sudo apt install zsh bat
zsh --version
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# General
alias zshconfig="vi ~/.zshrc"
alias ls="ls -la -h -Gp -F --color=auto"
alias grep="grep -n --color"
alias ping="ping -c 5"
alias cls="clear"
alias md="mkdir -p"
alias cat="batcat"
# Colours
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# User configuration
DEFAULT_USER=`whoami`
# Change to www directory
cd /var/www/
# Plugins
ubuntu
common-aliases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment