manual tmux-mem-cpu-load, cleanup

This commit is contained in:
2025-08-03 14:05:19 +02:00
parent db6369b9b5
commit 8f596ba2c4
6 changed files with 19 additions and 264 deletions

View File

@@ -3,13 +3,14 @@
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}'
url='https://gitea.dosmo.de/mark/dotfiles/raw/branch/main/linux/'
fls='{.bash_aliases,.bashrc,.profile,.tmux.conf,.vimrc,my.pem,bin/tmux-mem-cpu-load}'
cd ~ # or where ever you want to place these files:
mkdir -pv ./.dotfiles/bak
mkdir -pv ./.dotfiles/bak ~/bin
cd ./.dotfiles && curl -JOL "$url$fls"
for f in ./.*; do mv -vn ~/"$f" ./bak/; mv -vn "$f" ~/; done
for f in ./.*; do [[ -f ~/"$f" ]] && mv -vn ~/"$f" ./bak/; mv -vn "$f" ~/; done
mv -vn ./my.pem ~/.ssh/; mv -vn ./tmux-mem-cpu-load ~/bin/
cd /usr/local/bin/ && \
curl -JOL "https://gitea.dosmo.de/mark/dotfiles/raw/branch/main/linux/bin_amd64/tmux-mem-cpu-load" && \