File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed
Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,17 @@ Set Height 650
1313Set Width 1050
1414Set Padding 50
1515
16- # https://github.com/charmbracelet/vhs/issues/39#issuecomment-1296334921
1716Hide
18- Sleep 600ms
17+
18+ Type 'setopt interactive_comments'
19+ Enter
20+
21+ Type 'source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh'
22+ Enter
23+
24+ Type 'clear'
25+ Enter
26+
1927Show
2028
2129Type "cd ~/Git-GH/dotfiles"
@@ -28,7 +36,7 @@ Sleep 200ms
2836Enter
2937Sleep 1s
3038
31- Type "fling -s grabbit -i 'README.*' link "
39+ Type "fling link --src-dir grabbit "
3240Sleep 200ms
3341Enter
3442Sleep 500ms
@@ -37,7 +45,7 @@ Sleep 500ms
3745Enter
3846Sleep 1s
3947
40- Type "fling -s grabbit -i 'README.*' -- ask false unlink "
48+ Type "fling unlink --src-dir grabbit -- ask false"
4149Sleep 200ms
4250Enter
4351Sleep 1s
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env zsh
2+
3+ # exit the script on command errors or unset variables
4+ # http://redsymbol.net/articles/unofficial-bash-strict-mode/
5+ set -euo pipefail
6+ IFS=$' \n\t '
7+
8+ # https://stackoverflow.com/a/246128/295807
9+ script_dir=" ${0: A: h} "
10+ readonly script_dir
11+ cd " ${script_dir} "
12+
13+ # Use a new version of enventory
14+ go install .
15+ export PATH=" $HOME /go/bin:$PATH "
16+ echo " Using:"
17+ which fling
18+
19+ export PROMPT=' %F{47}$ %f'
20+
21+ vhs < ./demo.tape
You can’t perform that action at this time.
0 commit comments