diff --git a/chef/android/recipes/default.rb b/chef/android/recipes/default.rb deleted file mode 100644 index 6a9d189..0000000 --- a/chef/android/recipes/default.rb +++ /dev/null @@ -1,6 +0,0 @@ -ruby_block "install android studio" do - not_if { ZZ::Exec.cask_installed?("android-studio") } - block { ZZ::Exec.install_cask("android-studio") } -end - -# TODO: set up a virtual device, e.g. Google Pixel diff --git a/chef/node.json b/chef/node.json index a22d0bf..bad53e5 100644 --- a/chef/node.json +++ b/chef/node.json @@ -34,7 +34,6 @@ "node", "ruby", "rust", - "android", "aws" ] } diff --git a/chef/profile/files/user_profile b/chef/profile/files/user_profile index f9122eb..27fe841 100644 --- a/chef/profile/files/user_profile +++ b/chef/profile/files/user_profile @@ -3,29 +3,13 @@ eval "$(nodenv init - 2> /dev/null)" source /usr/local/bin/zz-completion.bash -export ES_HOME="/usr/local/Cellar/elasticsearch/6.6.2/bin" -export JAVA_HOME="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home" - -export ANDROID_HOME="/Users/$USER/Library/Android/sdk" -export ANDROID_SDK_HOME="/Users/$USER/Library/Android/sdk" -export ANDROID_AVD_HOME="/Users/$USER/.android/avd" - -export PATH="$ES_HOME/bin:$JAVA_HOME/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH" -export PATH="/usr/local/opt/postgresql@9.5/bin:$PATH" -export PATH="$ANDROID_HOME/tools:$PATH" -export PATH="$ANDROID_HOME/platform-tools:$PATH" -export PATH="$ANDROID_AVD_HOME:$PATH" +export RUSTFLAGS="-A dead_code" +export PS1="\w\[\033[33m\]\$(git_branch)\[\033[00m\] $ " export EDITOR=vim export GPG_TTY="$(tty)" export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh" -export PS1="\w\[\033[33m\]\$(git_branch)\[\033[00m\] $ " - -export RUSTFLAGS="-A dead_code" - -alias :q="exit" - alias gca="git commit --amend --no-edit"