https://github.com/jedahan/dotfiles
:hibiscus: ghostty, git, helix, mpv, ssh, zsh
https://github.com/jedahan/dotfiles
dotfiles ghostty helix jj jujutsu linux macos mpv ssh zsh
Last synced: 7 months ago
JSON representation
:hibiscus: ghostty, git, helix, mpv, ssh, zsh
- Host: GitHub
- URL: https://github.com/jedahan/dotfiles
- Owner: jedahan
- Created: 2011-07-28T20:39:51.000Z (about 14 years ago)
- Default Branch: macOS
- Last Pushed: 2025-01-21T16:10:00.000Z (9 months ago)
- Last Synced: 2025-03-20T08:19:35.411Z (7 months ago)
- Topics: dotfiles, ghostty, helix, jj, jujutsu, linux, macos, mpv, ssh, zsh
- Language: Shell
- Homepage:
- Size: 15.5 MB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[jedahan][]'s dotfiles for [ghostty][], [zsh][], [hx][], [jj][], [ssh][], and [mpv][] on [macOS][].
Customizations are minimal, understandable, and independent, so newcomers can dive in.
> check out [the linux branch](https://github.com/jedahan/dotfiles/tree/linux)

### Installation
Clone this repository
jj git clone https://github.com/jedahan/dotfiles.git ~/.dotfiles
Backup existing files
jj --repository ~/.dotfiles file list | xargs -I _ mv -vi "$HOME/_" "$HOME/_.backup"
Symlink dotfiles to home directory
jj --repository ~/.dotfiles file list | xargs -I _ ln -sf "$HOME/.dotfiles/_" "$HOME/_"
Setup function for managing dotfiles when in home directory
jj() { command jj $([[ "$PWD" == "$HOME" ]] && echo "--repository .dotfiles") "$@"; }
### Usage
Manage changes with `jj` in your home directory
jj status
Add a config file to git
cd
mv .config/app.toml .dotfiles/.config/app.toml
ln -sf .dotfiles/.config/app.toml ~/.config/app.toml
jj describe --message 'track app config'### Uninstallation
Backup existing files
jj --repository ~/.dotfiles file list | xargs -I _ mv -vi "$HOME/_" "$HOME/_.backup"
Copy dotfiles from repo back to home
jj --repository ~/.dotfiles file list | xargs -I _ cp -i "$HOME/.dotfiles/_" "$HOME/_"
[jedahan]: http://jonathan.is
[ghostty]: https://github.com/ghostty-org/ghostty
[hx]: https://helix-editor.com
[jj]: https://martinvonz.github.io/jj
[macOS]: https://www.apple.com/macos/sequoia
[mpv]: https://mpv.io
[ssh]: https://openssh.com
[zsh]: https://zsh.org