8000 GitHub - guoqiao/dot: personal dotfiles · GitHub
[go: up one dir, main page]

Skip to content
guoqiaoPublic

About

personal dotfiles

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

dot

Personal dot files for macOS and Ubuntu, quickly setup work env for developer.

Example tools:

  • brew/npm/uv
  • git/vim/zsh/tmux/direnv

Quick Start

Clone the repo with https:

git clone https://github.com/guoqiao/dot.git ~/.dot && cd ~/.dot

Or if you prefer ssh:

git clone git@github.com:guoqiao/dot.git ~/.dot && cd ~/.dot

Ubuntu

Install basic deps:

sudo apt install -y make zsh

change shell to zsh if not yet:

echo $SHELL | grep zsh || chsh -s $(which zsh)

NOTE: You may need to logout if you changed your shell.

Verify shell is zsh:

echo $SHELL

Now run:

make ubuntu

macOS

Just run:

make mac

Persist $PATH

At the end, on either Ubuntu or macOS, run this to print $PATH and add to top of your .zshrc:

make path

Git Hooks

This repo uses prek for Git hooks.

Install it with Homebrew and set up the hooks:

make hooks

Run the hooks manually across the repo:

make hooks-run

Update hook revisions:

make hooks-update

prek uses this repo's existing .pre-commit-config.yaml, so no config rename is required.

About

personal dotfiles

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0