Skip to content

Collection of user-specific application configuration

License

Notifications You must be signed in to change notification settings

syjung6967/dotfiles

Repository files navigation

Dotfiles

Use at your own risk.

Dotfiles do not specify a desktop environment or window manager becuase none is compatible with all operating systems (Windows, Mac OS, Linux, BSD).

Dotfiles do not specify a terminal emulator.

dotfiles alias is equivalent to git except for working directory is set to $HOME.

Packages

  • Shell: zsh, bash
  • Editor: vim
  • Multiplexer: tmux
  • System monitor: htop
  • File manager: Midnight Commander
  • Package manager: Homebrew (BSD not supported)

Installation

Check Git is set up on your machine before installation.

Run bootstrap first.

alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
echo !! >> ~/.zshrc

# Init git repo.
mkdir ~/.dotfiles
dotfiles init

# Overwrite dotfiles.
dotfiles remote add origin https://github.com/syjung6967/dotfiles.git
dotfiles pull
dotfiles reset --hard origin/main
dotfiles checkout main

# Update submodules.
dotfiles submodule update --init

Install Homebrew and all packages from bundle file.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
brew analytics off

brew bundle --global

Post Installation

Update dotfiles

dotfiles add <new files>
dotfiles submodule add <repo> <path>
dotfiles rm <files or submodules>

dotfiles commit -a
dotfiles push origin main

About

Collection of user-specific application configuration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published