You can use ~/.sh/extra
(POSIX) and ~/.bash_extra
to:
- add custom cmds without forking this entire repo
- add private data
- override settings, fns, aliases, etc..., essentially treating the repo as a default.
- it's probably better to fork this repo instead
Warning
Review the code and remove things you don't want or need.
My preferences and needs may not align with yours!
Note
install
depends on rsync
install
will pull the main
branch, then copy the files to your HOME
:
git clone https://github.com/Rudxain/dotfiles.git \
&& cd dotfiles \
&& source install
To do a differential update, cd
into your local dotfiles
repo and then:
# safer
source install
alt:
# avoid confirmation prompt
set -- -f; source install
Portable to almost any environment. See progress on wget
.
Non-Termux:
cd
curl -#L https://github.com/Rudxain/dotfiles/tarball/main | \
tar -xzv --strip-components 1 --exclude={.termux,bin/termux-\*,.gitattributes,install,README.md,LICENSE} \
&& . .profile
Termux:
cd
curl -#L https://github.com/Rudxain/dotfiles/tarball/main | \
tar -xzv --strip-components 1 --exclude={.gitattributes,install,README.md,LICENSE} \
&& . .profile
To update, just run the corresponding cmd again. The downside is that it always downloads the full contents of this repo, even if no files have changed
I reserve the right to edit this repo in any way I want (this includes mutating/deleting commits, so permalinks may not be so permanent). So don't complain about breaking-changes.
After an update happens, you may have some left-over files that are no longer source
d