Merge branch 'master' of github.com:sneak/osximage

This commit is contained in:
Jeffrey Paul 2019-11-26 20:29:28 -08:00
commit 61f72b9944
11 changed files with 41 additions and 46 deletions

View File

@ -11,5 +11,7 @@ Open System Preferences.
Open a terminal and run the following: Open a terminal and run the following:
* `sudo xcodebuild -license accept` * `chsh -s /bin/bash` and enter password
* `bash <(curl -s https://github.com/sneak/osximage/FIXME)` * `sudo xcodebuild -license accept` and click ok/install on developer tools
installer popup window
* `bash <(curl -s https://raw.githubusercontent.com/sneak/osximage/master/install.sh)`

View File

@ -0,0 +1 @@
export BASH_SILENCE_DEPRECATION_WARNING=1

View File

@ -0,0 +1,14 @@
export DO_NOT_TRACK=1
# the rest
export HOMEBREW_NO_ANALYTICS=1
export GATSBY_TELEMETRY_DISABLED=1
export STNOUPGRADE=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export SAM_CLI_TELEMETRY=0
export AZURE_CORE_COLLECT_TELEMETRY=0
if command -v gcloud >/dev/null 2>&1 >/dev/null ; then
gcloud config set disable_usage_reporting true >/dev/null 2>&1
fi

View File

@ -1 +0,0 @@
export HOMEBREW_NO_ANALYTICS=1

View File

@ -1,4 +1,6 @@
# adds homebrew python packages dir to python paths # adds homebrew python packages dir to python paths
if [[ -d "$HOME/Library/Python/2.7/lib/python/site-packages/" ]]; then
echo "import site; site.addsitedir(\"$HOME/Library/Homebrew/lib/python2.7/site-packages\")" >> \ echo "import site; site.addsitedir(\"$HOME/Library/Homebrew/lib/python2.7/site-packages\")" >> \
$HOME/Library/Python/2.7/lib/python/site-packages/homebrew.pth $HOME/Library/Python/2.7/lib/python/site-packages/homebrew.pth
fi

View File

@ -13,30 +13,26 @@ brew tap caskroom/cask
# no google-drive-file-stream because it requires admin privs and installs to /Applications systemwide # no google-drive-file-stream because it requires admin privs and installs to /Applications systemwide
CASKS=" CASKS="
1password
1password-cli
ableton-live-suite ableton-live-suite
alacritty
anki anki
atom atom
dashlane bitwarden
deluge deluge
disk-inventory-x disk-inventory-x
expandrive
google-chrome google-chrome
google-cloud-sdk google-cloud-sdk
handbrake handbrake
iterm2 iterm2
keepassx
keybase keybase
lastpass
little-snitch little-snitch
minikube
openscad openscad
signal
sketch sketch
slack slack
spotify spotify
sublime-text sublime-text
syncthing-app syncthing
tor-browser tor-browser
vcv-rack vcv-rack
vlc vlc
@ -48,7 +44,7 @@ for CASK in $CASKS ; do
brew cask install $CASK brew cask install $CASK
done done
brew tap caskroom/fonts brew tap homebrew/cask-fonts
FONTS=" FONTS="
font-anonymice-powerline font-anonymice-powerline

View File

@ -73,8 +73,9 @@ HOMEBREW_PKGS="
watch watch
wget wget
whatmask whatmask
yarn
" "
for PKG in $HOMEBREW_PKGS ; do for PKG in $HOMEBREW_PKGS ; do
brew install $PKG brew install --build-from-source $PKG
done done

View File

@ -1,23 +0,0 @@
#!/bin/bash
# set up paths and whatnot
source $HOME/.profile
NPM_PKGS="
coffee-script
yarn
"
for PKG in $NPM_PKGS ; do
# -g is okay because "global" prefix is where homebrew
# installed npm, i.e. in ~/Library/Homebrew, not actually systemwide
npm install -g $PKG
done
YARN_PKGS="
now
"
for PKG in $YARN_PKGS ; do
yarn global add $PKG
done

View File

@ -0,0 +1,13 @@
#!/bin/bash
# set up paths and whatnot
source $HOME/.profile
YARN_PKGS="
now
prettier
"
for PKG in $YARN_PKGS ; do
yarn global add $PKG
done

View File

@ -1,5 +0,0 @@
#!/bin/bash
# setup google drive as synceddir in ~/.paths
if [[ ! -e ~/.paths/synceddir ]]; then
ln -s ~/Google\ Drive\ File\ Stream/My\ Drive ~/.paths/synceddir
fi

View File

@ -1,10 +1,6 @@
#!/bin/bash #!/bin/bash
function run_install { function run_install {
sudo pmset -g
sudo pmset -a disablesleep 1
REPO="https://github.com/sneak/osximage.git" REPO="https://github.com/sneak/osximage.git"
DEST="$TMPDIR/osximage" DEST="$TMPDIR/osximage"
@ -21,7 +17,6 @@ function run_install {
rm "$FN" rm "$FN"
echo "new-user-setup: removed $(basename $FN)..." echo "new-user-setup: removed $(basename $FN)..."
done done
sudo pmset -a disablesleep 0
} }
run_install run_install