Thanks to visit codestin.com
Credit goes to github.com

Skip to content

leelhn2345/dotfiles

Repository files navigation

Dotfiles Management

About

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

Apps

  • shell: zsh
  • editor: neovim
    • plugings are configured for neovim >= 0.10
  • environments:
    1. WSL2
    2. devpod
    3. macOS (nix)

Font used is Monaspace Neon. Nerd font variant is MonaspiceNe Nerd Font.

Remember to switch on ligatures.

Setup

Ubuntu

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.sh

afterwards, to log in into github

gh auth login

Note

if using WSL, may want to install wsl packages in ./scripts/packages.sh. checkout the install_wsl_packages function.

Devpod

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.sh

Once workspace is setup, ssh into pod and then customize p10k theme via prompt.

Overriding devcontainer image

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:debian

MacOS

2 important things to take note:

  • download nerd fonts
    • use monaspice neon nerd font
cd dotfiles/scripts
. setup_mac.sh

# authenticate github afterwards
gh auth login

To use make command:

xcode-select --install

License

Do whatever you want license, © Nelson Lee 2024.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •