-
Notifications
You must be signed in to change notification settings - Fork 1
/
onetime.sh
executable file
·36 lines (26 loc) · 1.3 KB
/
onetime.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env bash
# ./brew.sh
touch ~/.secrets
brew install wget
softwareupdate --install-rosetta
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
git clone https://github.com/jimeh/zsh-peco-history $ZSH_CUSTOM/plugins/zsh-peco-history
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/johanhaleby/kubetail $ZSH_CUSTOM/plugins/kubetail
wget "https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpoonInstall.spoon.zip"
unzip SpoonInstall.spoon.zip
rm SpoonInstall.spoon.zip
mv SpoonInstall.spoon ~/.hammerspoon/Spoons/
# Make sure Keybase FS is enabled
# gpg --import /Volumes/Keybase/private/sidharthv/gpg.key
# Add VPN Password to Keychain
# /usr/bin/security add-generic-password -a Oracle_AnyConnect_VPN -s Oracle_AnyConnect_VPN -U -w
# Reinstall vscode extensions
# xargs -n1 code --install-extension < vscode.md
# Set permissions for ~/.gnupg
mkdir -p ~/.gnupg
chown -R $(whoami) ~/.gnupg/
find ~/.gnupg -type f -exec chmod 600 {} \;
find ~/.gnupg -type d -exec chmod 700 {} \;