Skip to content
Projets

davidosomething/dotfiles has 363 GitHub stars and 20 forks. Star changes are not measured yet. Last checked 2026-11-14 04:05 UTC. Last push 2026-11-13.

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
Historique en cours
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

À propos

mac OS, Arch Linux, and Debian/Ubuntu + Neovim

Outils de développement

README.md

Original
dotfiles

My dotfiles. https://github.com/davidosomething/dotfiles
My /uses post may be of interest to you!

terminal screenshot

Screenshot of my Zsh prompt

Tool Link
OS support Arch, macOS, Debian, Ubuntu
Terminal emulator WezTerm
Font Maple Mono
Shell Zsh
Shell plugins Zinit
Editor Neovim
Tooling/env mise

Installation

See macOS specific notes in mac/README.md

  1. Install the dotfiles first.

    git clone https://github.com/davidosomething/dotfiles ~/.dotfiles
    

    Then, run the bootstrap/symlink script.

  2. After symlinking, start zsh or restart the shell -- e.g. run exec zsh. (If zsh is not available, consider installing it with the system package manager. It is default on mac os.)
    This will trigger zinit to install.
    Once mise is installed via zinit you may see warnings about npm dependencies and env vars not defined.

    • Define the env vars using a zshrc in $LDOTDIR or a local mise config or unversioned ~/.config/mise/conf.d/*.toml file with [env] section.
    • You should also generate SSH keys using sshkeygen if you do not already have them.
  3. mise trust && mise install to install mise-managed tools.

  4. Run bootstrap/cleanup to clean up stray dotfiles, moving into their XDG Base Directory supported directories and deleting unnecessary things (with confirmation).

Updating

u is an alias to dot. Use u without arguments for usage.

Notes

  • bin/
    • There's a readme in bin/ describing each script/binary. This directory is in the $PATH.
  • git/
    • The comment character is # instead of ; so I can use Markdown in my commit messages without trimming the headers as comments. This is also reflected in a custom Vim highlighting syntax
  • nvim/
  • python/
    • Never sudo pip. Set up a python virtual environment.

Local dotfiles are read from $LDOTDIR.

  • Put files zshrc, bashrc, npmrc, and gitconfig here and they will be automatically sourced, LAST, by the default scripts. No dots on the filenames (i.e. not .zshrc).

rc script source order

If you have node installed, the dkosourced command will show you (not exhaustively) the order scripts get sourced. Without node echo $DKO_SOURCE works.

For X apps (no terminal) the value may be:

/etc/profile
.xprofile
  shell/vars
    shell/xdg

Credits

Logo from jglovier/dotfiles-logo

Explorer des projets similaires