https://github.com/adamtabrams/fig
A tool to manage config files and improve your workflow
https://github.com/adamtabrams/fig
Last synced: 4 months ago
JSON representation
A tool to manage config files and improve your workflow
- Host: GitHub
- URL: https://github.com/adamtabrams/fig
- Owner: adamtabrams
- Created: 2020-02-22T03:17:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-30T00:10:07.000Z (about 1 year ago)
- Last Synced: 2025-04-30T00:29:33.658Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 4.74 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# About
Fig gives you a simple way to track, backup, and share system configurations.
This repo currently has some of my own configs.
# Usage
If you plan to use this repo, it's probably a good idea to fork it. That way you can
easily make your own changes on top of what's here.
The config files are split up into 4 directories:
- shared_configs - for both Linux and macOS
- linux_configs - specific to Linux
- macos_configs - specific to macOS
- other_configs - other helpful files and scripts
Some of the `*_configs` directories have a `home` directory in them.
It represents the `$HOME` directory of you system.
Here's an example:
If I want a file to exist as `~/.config/foo/bar.conf` on my Linux and macOS systems,
then I should put that file in `shared_configs/home/.config/foo/bar.conf`.
The default behavior of the `link_*_configs.sh` scripts is to create links in `$HOME` that point to the
corresponding file in `*_configs/home`. You can also create links that point to a
corresponding directory by adding a file named `.figlink` to that directory.
# Tips
- I highly recommend simplifying your home directory. I primarily use these:
- repos - where I clone git repos
- save - for anything worth saving, documents, media, etc
- temp - for scratch files, downloads, and anything I won't need in a few months
- If after installing you see and error like: `zsh compinit: insecure directories...`,
check [this](https://stackoverflow.com/a/43544733). It explains why you're seeing that
and how to fix it.