โจ 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
๐ค 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!