β¨ Learn how I made dβtman from scratch β¨
</samp>
Demo π₯
π Features
- Single file manager (Portable)
- No config files for dotman (No
.dotrc
π€¦) - No useless arguments (single command π)
- Easy to use
- Extendable β, Available as a Template
- Fewer Dependencies
Git
Bash>=3
Wait! itβs not written in a fancy language
And it doesnβt have to be. Why?
- Your focus should be on your dot files & scripts rather than on a dotfiles manager or how to use it.(Wait I forgot what was the command to push files? Is it
dt push
ordt --push
) - Creating a overly-complex solution for something simple should not be the goal.
π Installation
via curl
β°
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
via wget
π₯
sh -c "$(wget -O- https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
via httpie
π₯§
sh -c "$(http --download https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
dotman is installed by default in
/home/username/dotman
, your$HOME
directory.
Now run dotman
for 1st time set-up.
- Enter repository URL (without
.git
). - Enter folder name to where this repo be cloned (relative to
/home/username/
). - Open up new terminal π.
Manually (you ok ?)
- Just grab dotman.sh from Releases πΌ and store it anywhere on your system.
- Change file permissions to be π executable.
chmod +x dotman.sh
- Set alias for dotman (optional). Alternatively modify your
.bash_aliases
file.alias $(pwd)/dotman.sh=dotman
- Run dotman.
./dotman.sh
Usage
Just run dotman
anywhere in your terminal π.
dotman
Leave the rest to it.
What else π
dotman exports 2 variables in your default shell config (bashrc
, zshrc
etc):
DOT_DEST
: used for finding the location of dotfiles repository in your local system.DOT_REPO
: the url to the remote dotfile repo.
You can change these manually if any one of the info changes.
Author
π€ Bhupesh Varshney
Web | Twitter: @bhupeshimself | DEV: bhupesh |
βΊοΈ Show your support
Support me by giving a βοΈ if this project helped you! or just
π License
Copyright Β© 2020 Bhupesh Varshney.
This project is MIT licensed.
π Changelog
See the CHANGELOG.md file for details.
π Contributing
Please read the CONTRIBUTING file for the process of submitting pull requests to us.
β¨ Contributors
Thanks goes to these wonderful people (emoji key):
fpitters π |
Thiago Adomaitis π π» |
Scott π |
Prajeshpuri π» |
This project follows the all-contributors specification. Contributions of any kind welcome!