Skip to content

Commit f5d9169

Browse files
committed
Lipsticks
1 parent d5e308d commit f5d9169

File tree

6 files changed

+11
-17
lines changed

6 files changed

+11
-17
lines changed

.gitconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
[alias]
99
graph = log --graph --all --date=relative --pretty=preset
1010

11-
# git remote rename [old-origin-name] [new-origin-name]
12-
# clone = clone --origin github --recurse-submodules
13-
1411
stage = add
1512
unstage = reset HEAD
1613

@@ -45,8 +42,8 @@
4542
[filter "lfs"]
4643
clean = git-lfs clean -- %f
4744
process = git-lfs filter-process
48-
smudge = git-lfs smudge -- %f
4945
required = true
46+
smudge = git-lfs smudge -- %f
5047

5148
[sendpack]
5249
sideband = false

.github/workflows/main.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ jobs:
1414
- run: ./install.sh
1515
- run: sudo apt update
1616
- run: ./scripts/setup-${{ matrix.os }}.sh
17+
- run: ./uninstall.sh

.inputrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
set completion-ignore-case on
2-

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
# dotfiles
2-

install.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/sh -eu
22

3-
dotfiles=$(cd "$(dirname "$0")"; pwd)
3+
here=$(cd "$(dirname "$0")"; pwd)
44

5-
for f in "$dotfiles"/.??*
5+
for f in "$here"/.??*
66
do
7-
test "$f" = "$dotfiles"/.git && continue
8-
test "$f" = "$dotfiles"/.gitignore && continue
7+
test "$f" = "$here"/.git && continue
8+
test "$f" = "$here"/.gitignore && continue
99
ln -sf "$f" "$HOME"
1010
done

uninstall.sh

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
#!/bin/sh -e
1+
#!/bin/sh -eu
22

3-
dotfiles=$(cd "$(dirname "$0")"; pwd)
3+
here=$(cd "$(dirname "$0")"; pwd)
44

5-
cd "$dotfiles"
6-
7-
for f in .??*
5+
for f in "$here"/.??*
86
do
9-
test "$f" = ".git" && continue
10-
test "$f" = ".gitignore" && continue
7+
test "$f" = "$here"/.git && continue
8+
test "$f" = "$here"/.gitignore && continue
119
unlink "$HOME/$f"
1210
done

0 commit comments

Comments
 (0)