Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/menny/dotfiles
My personal dotfiles repo
https://github.com/menny/dotfiles
Last synced: about 7 hours ago
JSON representation
My personal dotfiles repo
- Host: GitHub
- URL: https://github.com/menny/dotfiles
- Owner: menny
- License: apache-2.0
- Created: 2019-11-13T14:33:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T21:10:32.000Z (10 months ago)
- Last Synced: 2024-05-01T19:16:46.855Z (7 months ago)
- Language: Shell
- Size: 262 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
My personal dotfiles repo and related tools.# Setup from web:
```shell
wget --no-check-certificate https://raw.githubusercontent.com/menny/dotfiles/master/dell-fedora-setup.sh -O setup.sh && chmod +x setup.sh && ./setup.sh
```# Usage
* `dotfiles restore` - links the dotfiles in this repo to the correct locations. This is usually happens once, when you restoring to a new machine.
* `dotfiles commit` - commits and pushes local changes to repo.
* `dotfiles add [backup-name] [full/path/to/.dotfile]` - adds a dotfile to this repo with the given name.
* _(not supported)_ `dotfiles.sh add-enc [backup-name] [full/path/to/.dotfile]` - adds a dotfile to this repo with the given name, and encrypts it.
* `dotfiles remove [backup-name]` - removes a dotfile from the list of backuped dotfiles.
* `dotfiles add-bin [binary-name]` - adds a required bin.
* `dotfiles remove-bin [binary-name]` - removes a required bin.
* `dotfiles list` - prints out a list of all backup dotfiles and required bins.
* `dotfiles noop` - does not do anything, but will run the git-dirty check and notify if the repo is dirty.# Helpers
## add `dotfiles` script to PATH
To allow adding dotfiles from any folder, add to you shell rc script:
```
export PATH=$PATH:~/dev/menny/dotfiles
```## dirty-repo checker
You might want to add a check to your shell rc file to see if there are changes in the repo that need to pushed.
```
#dot-files check
dotfiles noop
```