diff --git a/README.md b/README.md index c6e5ccd..ed32265 100755 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # dotfiles of various of my systems +Use something like below to get and roll-out quickly: + +```bash +url='https://gitea.dosmo.de/mark/dotfiles/raw/branch/main/linux/' +fls='{.bash_aliases,.bashrc,.profile,.tmux.conf,.vimrc,authorized_keys}' + +cd ~ # or where ever you want to place these files: +mkdir -pv ./.dotfiles/bak +cd ./.dotfiles && curl -JOL "$url$fls" +for f in ./.*; do mv -vn ~/"$f" ./bak/; mv -vn "$f" ~/; done + +cd /usr/local/bin/ && \ +curl -JOL "https://gitea.dosmo.de/mark/dotfiles/raw/branch/main/linux/bin_amd64/tmux-mem-cpu-load" && \ +chmod +x tmux-mem-cpu-load +``` \ No newline at end of file