Skip to content

Commit 1d695d1

Browse files
committed
Update fling GIF
1 parent 9574710 commit 1d695d1

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

demo.gif

-342 KB
Loading

demo.tape

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ Set Height 650
1313
Set Width 1050
1414
Set Padding 50
1515

16-
# https://github.com/charmbracelet/vhs/issues/39#issuecomment-1296334921
1716
Hide
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+
1927
Show
2028

2129
Type "cd ~/Git-GH/dotfiles"
@@ -28,7 +36,7 @@ Sleep 200ms
2836
Enter
2937
Sleep 1s
3038

31-
Type "fling -s grabbit -i 'README.*' link"
39+
Type "fling link --src-dir grabbit"
3240
Sleep 200ms
3341
Enter
3442
Sleep 500ms
@@ -37,7 +45,7 @@ Sleep 500ms
3745
Enter
3846
Sleep 1s
3947

40-
Type "fling -s grabbit -i 'README.*' --ask false unlink"
48+
Type "fling unlink --src-dir grabbit --ask false"
4149
Sleep 200ms
4250
Enter
4351
Sleep 1s

demo_create.zsh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

0 commit comments

Comments
 (0)