18 lines
692 B
Markdown
Executable File
18 lines
692 B
Markdown
Executable File
# 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,my.pem,bin/tmux-mem-cpu-load}'
|
|
|
|
cd ~ # or where ever you want to place these files:
|
|
mkdir -pv ./.dotfiles/bak ~/bin
|
|
cd ./.dotfiles && curl -JOL "$url$fls"
|
|
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/
|
|
|
|
mkdir -pv $HOME/bin && cd $HOME/bin && \
|
|
curl -JOL 'https://gitea.dosmo.de/mark/dotfiles/raw/branch/main/linux/bin/tmux-mem-cpu-load' && \
|
|
chmod +x tmux-mem-cpu-load
|
|
``` |