/dx-scripts

Scripts to automatically install and configure shells for a pretty sweet Developer Experience 🧁

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

Developer Experience (DX) Scripts

Scripts to automatically install and configure shells for a pretty sweet Developer Experience 🧁

dx-scripts.mp4

Install

bash -c "$(curl -fsSL https://raw.github.com/nerdyman/dx-scripts/main/install.sh)"

WSL Ubuntu Users

If you're using Ubuntu on WSL, it's recommended that you upgrade your distro and packages:

sudo apt-get update && \
sudo apt-get upgrade -y && \
sudo apt-get dist-upgrade -y && \
bash -c "$(curl -fsSL https://raw.github.com/nerdyman/dx-scripts/main/install.sh)"

What do the Scripts do?

Alias and Environment Files

Aliases are set in ~/.config/aliases.

~p is aliased to ~/Documents/projects, you can use it like:

~p/my-cool-project/hello-world.sh

The following paths are also sourced in .zshrc if they exist:

  • ~/.config/aliases.private
  • ~/.config/env.private

Supported Platforms

The agnostic script should work on any Unix/Linux OS. Ubuntu is currently the only distro with its own script to auto-install dependencies for the agnostic script.

Scripts

  • agnostic.sh *
    • Install and configure Oh My Zsh
    • Install and configure nvm
    • Install and configure Starship Cross-Shell Prompt
    • Configure default shell (Zsh)
    • Configure fzf for Zsh (fzf install is handled in distro script)
    • Configure grc for Zsh (grc install is handled in distro script)
    • Configure SSH for Zsh (SSH client install is handled in distro script)
  • ubuntu.sh - Install and configure Ubuntu packages

* Only tested on Ubuntu.