Skip to content

Commit d973ce9

Browse files
committed
I think that's everything. Hopefully.
1 parent aa6ab60 commit d973ce9

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

bin/curlsubl

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ exit; fi
2323
script="$(basename "$0")"
2424
bin="${script#curl}"
2525

26-
cache_dir=~/.dotfiles/caches/"$script"
26+
cache_dir=$DOTFILES/caches/"$script"
2727

2828
# Create tempfile.
2929
tmp="$(mktemp "/tmp/$script.XXXXX")"

bin/dotfiles

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ exit; fi
2020
# GENERAL PURPOSE EXPORTED VARS / FUNCTIONS
2121
###########################################
2222

23+
# Where the magic happens.
2324
export DOTFILES=~/.dotfiles
2425

2526
# Logging stuff.

bin/manh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ ! "$1" ]; then
2020
exit
2121
fi
2222

23-
cache_dir=~/.dotfiles/caches/manhtml
23+
cache_dir=$DOTFILES/caches/manhtml
2424

2525
# Figure out what the filename should be.
2626
file="$cache_dir/${2:+$2.}$1.html"

bin/manp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ ! "$1" ]; then
2020
exit
2121
fi
2222

23-
cache_dir=~/.dotfiles/caches/manpdf
23+
cache_dir=$DOTFILES/caches/manpdf
2424

2525
# Figure out what the filename should be.
2626
file="$cache_dir/${2:+$2.}$1.pdf"

bin/update_chromium

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ http://benalman.com/
77
Usage: $(basename "$0") [revision]
88
99
Download and install the latest Chromium and dev tools, modifying the binary
10-
to use those custom dev tools (downloaded into ~/.dotfiles/caches/chromium).
10+
to use those custom dev tools (downloaded into $DOTFILES/caches/chromium).
1111
See ~.dotfiles/conf/update_chromium_etc.sh for sample dev tools customization.
1212
1313
If a revision isn't specified, the latest stable revision will be installed.
@@ -30,7 +30,7 @@ fi
3030
url_base="http://commondatastorage.googleapis.com/chromium-browser-continuous/$os"
3131
dev_file="devtools_frontend.zip"
3232

33-
dev_path=~/.dotfiles/caches/chromium
33+
dev_path=$DOTFILES/caches/chromium
3434
current_revision=$(cat "$dev_path/REVISION" 2>/dev/null)
3535

3636
revision=$1
@@ -92,7 +92,7 @@ mv "$bin_file" "$bin_path/Chromium-bin"
9292

9393
cat > "$bin_file" <<'BASH'
9494
#!/bin/bash
95-
devtools=~/.dotfiles/caches/chromium/devtools
95+
devtools=$DOTFILES/caches/chromium/devtools
9696
"$0-bin" --debug-devtools-frontend="$devtools"
9797
BASH
9898
chmod +x "$bin_file"
@@ -102,7 +102,7 @@ echo -n "Cleaning up..."
102102
rm -rf "$tmp"
103103
echo "OK"
104104

105-
additional=~/.dotfiles/conf/update_chromium_etc.sh
105+
additional=$DOTFILES/conf/update_chromium_etc.sh
106106
if [[ -f "$additional" ]]; then
107107
echo -e "\nRunning update_chromium_etc.sh..."
108108
source "$additional"

link/.bashrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is pretty important.
1+
# Where the magic happens.
22
export DOTFILES=~/.dotfiles
33

44
# Add binaries into the path

0 commit comments

Comments
 (0)