1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-04-26 03:45:21 -04:00

random updates & cleanup

This commit is contained in:
Jake Jarvis 2020-12-13 09:37:29 -05:00
parent 3a3d94240d
commit 8c42305bed
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
7 changed files with 23 additions and 20 deletions

View File

@ -185,7 +185,7 @@ brew "twilio/brew/twilio"
brew "typescript" brew "typescript"
brew "unrar" brew "unrar"
brew "watchman" brew "watchman"
brew "whois" brew "whois", link: true
brew "wireguard-tools" brew "wireguard-tools"
brew "wireguard-go" brew "wireguard-go"
brew "wp-cli" brew "wp-cli"

View File

@ -22,6 +22,7 @@
signingkey = 3BC6E5776BF379D36F6714802B0C9CF251E69A39 signingkey = 3BC6E5776BF379D36F6714802B0C9CF251E69A39
[push] [push]
default = current default = current
gpgSign = if-asked
[pull] [pull]
rebase = true rebase = true
[diff] [diff]
@ -45,3 +46,5 @@
required = true required = true
[init] [init]
defaultBranch = main defaultBranch = main
[mergetool]
keepBackup = true

View File

@ -40,7 +40,7 @@ Host tufts
Host code Host code
HostName code.jarv.is HostName code.jarv.is
User jake User root
IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes IdentitiesOnly yes

View File

@ -31,16 +31,14 @@ plugins=(
zsh-autosuggestions zsh-autosuggestions
) )
# Perform compinit only once a day # Perform compinit only once a day for speed
# https://gist.github.com/ctechols/ca1035271ad134841284 # https://gist.github.com/ctechols/ca1035271ad134841284#gistcomment-2308206
autoload -Uz compinit autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(\#qN.mh+24) ]]; then for dump in ~/.zcompdump(N.mh+24); do
echo "reloading compinit"
compinit compinit
compdump done
else compinit -C
compinit -C
fi;
# Load everything! # Load everything!
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh

View File

@ -52,8 +52,9 @@ update() {
echo -e "${YELLOW}Updating Homebrew formulae and casks...${NC}" echo -e "${YELLOW}Updating Homebrew formulae and casks...${NC}"
brew update brew update
# git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow
brew upgrade brew upgrade
brew cask upgrade brew upgrade --cask
brew cleanup brew cleanup
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}" echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
@ -67,16 +68,20 @@ update() {
gem upgrade --user-install gem upgrade --user-install
gem cleanup gem cleanup
# https://stackoverflow.com/a/3452888
echo -e "${YELLOW}Updating pip packages...${NC}"
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
echo -e "${YELLOW}Updating Composer packages...${NC}" echo -e "${YELLOW}Updating Composer packages...${NC}"
composer global update composer global update
echo -e "${YELLOW}Updating Oh-My-ZSH...${NC}" echo -e "${YELLOW}Updating Oh-My-ZSH...${NC}"
upgrade_oh_my_zsh omz update
# echo -e "${YELLOW}Updating MAS apps...${NC}" echo -e "${YELLOW}Updating MAS apps...${NC}"
mas upgrade mas upgrade
# echo -e "${YELLOW}Updating macOS system...${NC}" echo -e "${YELLOW}Updating macOS system...${NC}"
sudo softwareupdate -ia --include-config-data sudo softwareupdate -ia --include-config-data
} }

View File

@ -20,7 +20,6 @@ export PATH="/opt/metasploit-framework/bin:$PATH"
# export PATH="/usr/local/opt/curl/bin:$PATH" # export PATH="/usr/local/opt/curl/bin:$PATH"
export PATH="/usr/local/opt/curl-openssl/bin:$PATH" export PATH="/usr/local/opt/curl-openssl/bin:$PATH"
# Rust/Cargo # Rust/Cargo
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
@ -29,7 +28,8 @@ export PATH="$HOME/.cargo/bin:$PATH"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm # [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# yarn # yarn
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" export PATH="$HOME/.yarn/bin:$PATH"
export PATH="$HOME/.config/yarn/global/node_modules/.bin:$PATH"
# pyenv # pyenv
if command -v pyenv 1>/dev/null 2>&1; then if command -v pyenv 1>/dev/null 2>&1; then
@ -45,6 +45,3 @@ fi
# Google Cloud SDK # Google Cloud SDK
[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc ] && source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc [ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc ] && source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc
# added by travis gem
[ -f /Users/jake/.travis/travis.sh ] && source /Users/jake/.travis/travis.sh

@ -1 +1 @@
Subproject commit 4cf464f843902b6e1e2778b85b70f4c098789b6f Subproject commit 1715f39a4680a27abd57fc30c98a95fdf191be45