5 function __install_iterm2_color_schemes() {
6 WEBI_HOST=${WEBI_HOST:-https://webinstall.dev}
9 mkdir -p ~/Downloads/webi/iterm2-themes/
11 echo 'Downloading themes ...'
13 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Tomorrow%20Night.itermcolors' \
14 -o ~/Downloads/webi/iterm2-themes/'Tomorrow Night.itermcolors'
15 echo ' Tomorrow Night'
17 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Firewatch.itermcolors' \
18 -o ~/Downloads/webi/iterm2-themes/'Firewatch.itermcolors'
21 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Dracula.itermcolors' \
22 -o ~/Downloads/webi/iterm2-themes/'Dracula.itermcolors'
25 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Elemental.itermcolors' \
26 -o ~/Downloads/webi/iterm2-themes/'Elemental.itermcolors'
29 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Ubuntu.itermcolors' \
30 -o ~/Downloads/webi/iterm2-themes/'Ubuntu.itermcolors'
33 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/cyberpunk.itermcolors' \
34 -o ~/Downloads/webi/iterm2-themes/'cyberpunk.itermcolors'
37 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/Hivacruz.itermcolors' \
38 -o ~/Downloads/webi/iterm2-themes/'Hivacruz.itermcolors'
41 curl -sSL "${WEBI_HOST}"'/packages/iterm2/schemes/ToyChest.itermcolors' \
42 -o ~/Downloads/webi/iterm2-themes/'ToyChest.itermcolors'
46 echo 'IMPORTANT: You must open the themes to install them:'
48 echo ' open ~/Downloads/webi/iterm2-themes/*.itermcolors'
52 __install_iterm2_color_schemes