this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update bootstrap for vscode and fix up brewfile

+82 -56
+49 -46
.Brewfile
··· 1 1 # ============================================================================== 2 2 # Homebrew-provided taps 3 3 # ============================================================================== 4 + 4 5 tap "homebrew/bundle" 5 6 tap "homebrew/cask-fonts" 6 7 tap "homebrew/cask" ··· 11 12 # ============================================================================== 12 13 # Third-party/custom taps 13 14 # ============================================================================== 15 + 14 16 tap "ian-h-chamberlain/dotfiles" 15 17 tap "srkomodo/tap" 18 + 19 + 20 + # ============================================================================== 21 + # Casks 22 + # ============================================================================== 23 + 24 + if `yadm config local.class`.strip == "personal" 25 + # Install in home dir instead of /Applications 26 + cask_args appdir: "~/Applications" 27 + end 28 + 29 + # Torrent client 30 + cask "deluge" 31 + 32 + # Docker for macOS Desktop 33 + cask "docker" 34 + 35 + # Text editor 36 + cask "emacs" 37 + 38 + # Web browser 39 + cask "firefox" 40 + 41 + # Preferred font for fixed-width text e.g. terminal + editors 42 + cask "ian-h-chamberlain/dotfiles/font-input" 43 + 44 + # Image editor 45 + cask "gimp" 46 + 47 + # Helper app for REST queries 48 + cask "insomnia" 49 + 50 + # Packet capture tool 51 + cask "wireshark" 52 + 53 + # Terminal emulator 54 + cask "iterm2" 55 + 56 + # Password manager 57 + cask "keepassxc" 58 + 59 + # Text editor 60 + cask "visual-studio-code" 61 + 62 + # X11 compatibility layer 63 + cask "xquartz" 16 64 17 65 18 66 # ============================================================================== ··· 52 100 # Get a file from an HTTP, HTTPS or FTP server 53 101 brew "curl", args: ["with-libssh2"] 54 102 55 - # GNU Emacs text editor 56 - brew "emacs" 57 - 58 103 # User-friendly command-line shell for UNIX-like operating systems 59 104 brew "fish" 60 105 ··· 122 167 # ============================================================================== 123 168 # Work-specific packages 124 169 # ============================================================================== 170 + 125 171 if `yadm config local.class`.strip == "work" 126 172 # Collection of portable C++ source libraries 127 173 brew "boost@1.55" ··· 150 196 # Rich and complete approach to parallelism in C++ 151 197 brew "tbb" 152 198 end 153 - 154 - 155 - # ============================================================================== 156 - # Casks 157 - # ============================================================================== 158 - 159 - if `yadm config local.class`.strip == "personal" 160 - # Install in home dir instead of /Applications 161 - cask_args appdir: "~/Applications" 162 - end 163 - 164 - # Torrent client 165 - cask "deluge" 166 - 167 - # Docker for macOS Desktop 168 - cask "docker" 169 - 170 - # Text editor 171 - cask "emacs" 172 - 173 - # Web browser 174 - cask "firefox" 175 - 176 - # Preferred font for fixed-width text e.g. terminal + editors 177 - cask "ian-h-chamberlain/dotfiles/font-input" 178 - 179 - # Image editor 180 - cask "gimp" 181 - 182 - # Packet capture tool 183 - cask "wireshark" 184 - 185 - # Terminal emulator 186 - cask "iterm2" 187 - 188 - # Password manager 189 - cask "keepassxc" 190 - 191 - # Text editor 192 - cask "visual-studio-code" 193 - 194 - # X11 compatibility layer 195 - cask "xquartz"
+18 -8
.config/vscode/extensions.txt
··· 1 1 13xforever.language-x86-64-assembly 2 - 1dot75cm.RPMSpec 3 2 asvetliakov.vscode-neovim 3 + BazelBuild.vscode-bazel 4 4 bungcip.better-toml 5 5 codezombiech.gitignore 6 6 DavidAnson.vscode-markdownlint 7 7 dcasella.monokai-plusplus 8 - DevonDCarew.bazel-code 9 - dinhani.copy-on-select 8 + dnicolson.binary-plist 10 9 DotJoshJohnson.xml 10 + dunstontc.viml 11 11 eamodio.gitlens 12 12 fabiospampinato.vscode-statusbar-debugger 13 - ian-h-chamberlain.redcode 13 + IBM.output-colorizer 14 + jeff-hykin.better-cpp-syntax 14 15 korekontrol.saltstack 15 16 kumar-harsh.graphql-for-vscode 17 + LaurentTreguier.rpm-spec 18 + mariusschulz.yarn-lock-syntax 16 19 marko2276.yang 17 20 matklad.rust-analyzer 18 21 ms-azuretools.vscode-docker 19 22 ms-dotnettools.csharp 20 23 ms-python.python 24 + ms-vscode-remote.remote-ssh 25 + ms-vscode-remote.remote-ssh-edit 26 + ms-vscode.cmake-tools 21 27 ms-vscode.cpptools 22 28 ms-vscode.Go 29 + ms-vscode.vscode-typescript-tslint-plugin 30 + ms-vsliveshare.vsliveshare 31 + ms-vsliveshare.vsliveshare-audio 32 + ms-vsliveshare.vsliveshare-pack 33 + redhat.vscode-xml 34 + redhat.vscode-yaml 23 35 richie5um2.vscode-sort-json 24 36 ritwickdey.LiveServer 25 37 skyapps.fish-vscode 26 38 sleistner.vscode-fileutils 27 39 slevesque.shader 28 40 timonwong.shellcheck 29 - Tobiah.unity-tools 30 41 TomiTurtiainen.rf-intellisense 31 42 twxs.cmake 32 - Unity.unity-debug 43 + Veracosta.mib 33 44 vsciot-vscode.vscode-arduino 34 45 vscode-org-mode.org-mode 35 - vscodevim.vim 46 + wayou.vscode-todo-highlight 36 47 wholroyd.jinja 37 - XadillaX.viml 38 48 xoronic.pestfile 39 49 zhouronghui.propertylist 40 50 zxh404.vscode-proto3
+15 -2
.config/yadm/bootstrap
··· 9 9 function confirm() { 10 10 read -r -n 1 -p "$1 [Y/n]: " 11 11 12 - # Default to yes for no input 12 + # Default to yes for empty input 13 13 if [[ "$REPLY" == "" ]]; then 14 14 return 0 15 15 else ··· 34 34 bash -c '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)' 35 35 fi 36 36 37 + # TODO: should there be a step to `brew bundle cleanup` here? 37 38 if ! brew bundle --global check && \ 38 39 confirm "Install packages from Brewfile? " 39 40 then ··· 41 42 fi 42 43 43 44 # TODO: pre-commit which dumps with `code --list-extensions --show-versions` 44 - if ! diff ~/.config/vscode/extensions.txt <(code --list-extensions) && \ 45 + if ! diff ~/.config/vscode/extensions.txt <(code --list-extensions) &>/dev/null && \ 45 46 confirm "Install VSCode extensions?" 46 47 then 47 48 xargs printf -- "--install-extension %s " <~/.config/vscode/extensions.txt | xargs code 48 49 fi 50 + 51 + # TODO: some kind of vscode extension "prune" command. Or just uninstall all every time? 52 + if ! diff ~/.config/vscode/extensions.txt <(code --list-extensions) &>/dev/null; then 53 + echo 54 + echo "WARNING: the following extensions are installed, but not present in extensions.txt:" 55 + diff --changed-group-format=" %>" --unchanged-group-format="" \ 56 + ~/.config/vscode/extensions.txt \ 57 + <(code --list-extensions) 58 + echo 59 + fi 60 + 61 + echo "macOS setup is complete!" 49 62 } 50 63 51 64 function setup_linux() {