Dotfiles to set up various development environments.
Summary:
- Automated installation of all the packages and apps I use
- Setup all my preferred configurations
- stows all my config files
- shell: zsh
- editor: neovim
- plugings are configured for neovim >= 0.10
 
- environments:
- WSL2
- devpod
- macOS (nix)
 
Font used is Monaspace Neon.
Nerd font variant is MonaspiceNe Nerd Font.
Remember to switch on ligatures.
Note
Be around to enter password during initial apt update and changing of shells.
git clone https://github.com/leelhn2345/dotfiles ~/dotfiles
cd ~/dotfiles/scripts
source setup_ubuntu.shafterwards, to log in into github
gh auth loginNote
if using WSL, may want to install wsl packages in ./scripts/packages.sh.
checkout the install_wsl_packages function.
The script here is for Debian.
To create all new workspaces with the same customization:
# script is for `image: mcr.microsoft.com/devcontainers/base:debian`
devpod context set-options \
-o DOTFILES_URL=https://github.com/leelhn2345/dotfiles -o DOTFILES_SCRIPT=scripts/setup_devpod.shOnce workspace is setup, ssh into pod and then customize p10k theme via prompt.
To override the image configured in workspace's devcontainer.json, setup workspace
with --devcontainer-image <image> flag:
Important
Repository must contain .devcontainer/devcontainer.json!
# using debian base img
devpod up <workspace-git-url> --ide none --devcontainer-image mcr.microsoft.com/devcontainers/base:debian2 important things to take note:
- download nerd fonts
- use monaspice neon nerd font
 
cd dotfiles/scripts
. setup_mac.sh
# authenticate github afterwards
gh auth loginTo use make command:
xcode-select --installDo whatever you want license, © Nelson Lee 2024.