My dotfiles. https://github.com/davidosomething/dotfiles
My /uses post may be of interest to you!
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 |
- XDG compliance wherever possible to keep
$HOMEclean - RC files for Lua, markdownlint, node, PHP, python, R, and others
See macOS specific notes in mac/README.md
-
Install the dotfiles first.
git clone https://github.com/davidosomething/dotfiles ~/.dotfilesThen, run the bootstrap/symlink script.
-
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 triggerzinitto install. Oncemiseis installed viazinityou may see warnings about npm dependencies. -
mise trust && mise installto install mise-managed tools. -
Run bootstrap/cleanup to clean up stray dotfiles, moving into their XDG Base Directory supported directories and deleting unnecessary things (with confirmation).
u is an alias to dot. Use u without arguments for usage.
bin/- There's a readme in
bin/describing each script/binary. This directory is in the$PATH.
- There's a readme in
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
- The comment character is
nvim/- See nvim/README.md for more information.
python/- Never
sudo pip. Set up a python virtual environment.
- Never
Local dotfiles are read from $LDOTDIR.
- Put files
zshrc,bashrc,npmrc, andgitconfighere and they will be automatically sourced, LAST, by the default scripts. No dots on the filenames (i.e. not.zshrc).
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
Logo from jglovier/dotfiles-logo

