β¨ Learn how I made dβtman from scratch β¨
π₯
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
curl
β°
via sh -c "$(curl -fsSL https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
wget
π₯
via sh -c "$(wget -O- https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
httpie
π₯§
via 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
). - Specify folder you want to clone the dotfile repo to (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
Web | Twitter: @bhupeshimself | DEV: bhupesh
βΊοΈ Show your support
Support me by giving a
π 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!