manual tmux-mem-cpu-load, cleanup
This commit is contained in:
@@ -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" && \
|
||||
|
||||
Reference in New Issue
Block a user