Based on this
Here's how my .bash_prompt looks like:
You can use ~/.sh/ext (POSIX) and ~/.bash_ext 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!
git clone https://github.com/Rudxain/dotfiles \
&& cd dotfiles \
&& source ./install.shTo do a differential update, cd into your local dotfiles repo and then:
# safer
source ./install.shalt:
# avoid confirmation prompt
set -- -f; source ./install.shMinimum dependencies. Portable to almost any environment.
Non-Termux:
cd
wget -qO- https://github.com/Rudxain/dotfiles/tarball/main | \
tar -xzv --strip-components 1 \
'--exclude={.termux,bin/termux-*,.gitattributes,debian,install.sh,README*,LICENSE,prompt.svg}' \
&& \. .profileTermux:
cd
curl -#L https://github.com/Rudxain/dotfiles/tarball/main | \
tar -xzv --strip-components 1 --exclude={.gitattributes,debian,install.sh,README\*,LICENSE,prompt.svg} \
&& \. .profileTo 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 (including Git history, for now). So don't complain about breaking-changes.
After an update happens, you may have some left-over files