Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanwoodsmall/dotfiles
.d.o.t.f.i.l.e.s.
https://github.com/ryanwoodsmall/dotfiles
Last synced: 3 days ago
JSON representation
.d.o.t.f.i.l.e.s.
- Host: GitHub
- URL: https://github.com/ryanwoodsmall/dotfiles
- Owner: ryanwoodsmall
- Created: 2019-10-02T21:42:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T06:55:24.000Z (10 months ago)
- Last Synced: 2024-03-15T19:57:47.592Z (8 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
.d.o.t.f.i.l.e.s.# use
eval this, maybe:
```shell
for d in ${PWD}/dot_* ; do
t=${d//dot_/.}
t=${t//${PWD}/${HOME}}
h=${t%/*}
test -e ${t} && mv ${t}{,.PRE-$(date +%Y%m%d%H%M%S)} || true
echo "test -e ${h} || mkdir -p ${h}"
echo "test -e ${t} || ln -s ${d} ${t}"
done
```or run this, if you trust some guy on the internet:
```shell
for p in bim3 bim elvis ex vile vim ; do
u="https://raw.githubusercontent.com/ryanwoodsmall/dotfiles/master/dot_${p}rc"
f="${HOME}/$(basename ${u//dot_/.})"
test -e ${f} && mv ${f}{,.PRE-$(date +%Y%m%d%H%M%S)} || true
curl -kLo "${f}" "${u}"
done
```