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:
parent
3a3d94240d
commit
8c42305bed
2
Brewfile
2
Brewfile
@ -185,7 +185,7 @@ brew "twilio/brew/twilio"
|
||||
brew "typescript"
|
||||
brew "unrar"
|
||||
brew "watchman"
|
||||
brew "whois"
|
||||
brew "whois", link: true
|
||||
brew "wireguard-tools"
|
||||
brew "wireguard-go"
|
||||
brew "wp-cli"
|
||||
|
@ -22,6 +22,7 @@
|
||||
signingkey = 3BC6E5776BF379D36F6714802B0C9CF251E69A39
|
||||
[push]
|
||||
default = current
|
||||
gpgSign = if-asked
|
||||
[pull]
|
||||
rebase = true
|
||||
[diff]
|
||||
@ -45,3 +46,5 @@
|
||||
required = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[mergetool]
|
||||
keepBackup = true
|
||||
|
@ -40,7 +40,7 @@ Host tufts
|
||||
|
||||
Host code
|
||||
HostName code.jarv.is
|
||||
User jake
|
||||
User root
|
||||
IdentityFile ~/.ssh/id_ed25519
|
||||
IdentitiesOnly yes
|
||||
|
||||
|
14
zsh/.zshrc
14
zsh/.zshrc
@ -31,16 +31,14 @@ plugins=(
|
||||
zsh-autosuggestions
|
||||
)
|
||||
|
||||
# Perform compinit only once a day
|
||||
# https://gist.github.com/ctechols/ca1035271ad134841284
|
||||
# Perform compinit only once a day for speed
|
||||
# https://gist.github.com/ctechols/ca1035271ad134841284#gistcomment-2308206
|
||||
autoload -Uz compinit
|
||||
if [[ -n ${ZDOTDIR}/.zcompdump(\#qN.mh+24) ]]; then
|
||||
for dump in ~/.zcompdump(N.mh+24); do
|
||||
echo "reloading compinit"
|
||||
compinit
|
||||
compdump
|
||||
else
|
||||
compinit -C
|
||||
fi;
|
||||
|
||||
done
|
||||
compinit -C
|
||||
|
||||
# Load everything!
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
@ -52,8 +52,9 @@ update() {
|
||||
|
||||
echo -e "${YELLOW}Updating Homebrew formulae and casks...${NC}"
|
||||
brew update
|
||||
# git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow
|
||||
brew upgrade
|
||||
brew cask upgrade
|
||||
brew upgrade --cask
|
||||
brew cleanup
|
||||
|
||||
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
|
||||
@ -67,16 +68,20 @@ update() {
|
||||
gem upgrade --user-install
|
||||
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}"
|
||||
composer global update
|
||||
|
||||
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
|
||||
|
||||
# echo -e "${YELLOW}Updating macOS system...${NC}"
|
||||
echo -e "${YELLOW}Updating macOS system...${NC}"
|
||||
sudo softwareupdate -ia --include-config-data
|
||||
}
|
||||
|
||||
|
@ -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-openssl/bin:$PATH"
|
||||
|
||||
|
||||
# Rust/Cargo
|
||||
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
|
||||
|
||||
# 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
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
@ -45,6 +45,3 @@ fi
|
||||
|
||||
# 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
|
||||
|
||||
# added by travis gem
|
||||
[ -f /Users/jake/.travis/travis.sh ] && source /Users/jake/.travis/travis.sh
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 4cf464f843902b6e1e2778b85b70f4c098789b6f
|
||||
Subproject commit 1715f39a4680a27abd57fc30c98a95fdf191be45
|
Loading…
x
Reference in New Issue
Block a user