Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
derpaschi committed Nov 22, 2024
1 parent 1fbbe13 commit d096096
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bin/back-me-up
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for SourceAndDest in "${FoldersList[*]}"
then
# rsync that stuff
echo "RSYNC from $Source to $Destination"
rsync -arvu "$Source" "$Destination"
rsync -arvu --exclude=".*" "$Source" "$Destination"
else
echo "Can not sync - some folder doesn't exist."
fi
Expand Down
26 changes: 13 additions & 13 deletions zsh/zshrc.symlink
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CodeWhisperer pre block. Keep at the top of this file.
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh"
# Q pre block. Keep at the top of this file.
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh"
# shortcut to this dotfiles path is $ZSH
export ZSH=$HOME/.dotfiles

Expand Down Expand Up @@ -42,10 +42,18 @@ unset config_files
autoload -U promptinit; promptinit
prompt pure

export PATH="/opt/homebrew/opt/icu4c@76/bin:$PATH"
export PATH="/opt/homebrew/opt/icu4c@76/sbin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/sbin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/icu4c@76/lib" #-L/opt/homebrew/opt/[email protected]/lib
export CPPFLAGS="-I/opt/homebrew/opt/icu4c@76/include" #-I/opt/homebrew/opt/[email protected]/include
export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c@76/lib/pkgconfig"

export GOPATH=/usr/local/go
export PATH="/usr/local/bin:$PATH:$GOROOT/bin:$GOPATH/bin:/Users/paschi/.composer/vendor/bin/"

ssh-add
ssh-add --apple-load-keychain

# Path to WP_I18N_LIB
export WP_I18N_LIB="/Users/paschi/Development/tools/wpi18n"
Expand All @@ -60,20 +68,12 @@ eval "$(fnm env --use-on-cd)"
# place this after nvm initialization!
autoload -U add-zsh-hook

export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/sbin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"

test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
iterm2_print_user_vars() {
iterm2_set_user_var gitBranch $((git branch 2> /dev/null) | grep \* | cut -c3-)
iterm2_set_user_var phpVersion $(php -v | awk '/^PHP/ { print $2 }')
iterm2_set_user_var nodeVersion $(node -v)
}


[[ -f "$HOME/fig-export/dotfiles/dotfile.zsh" ]] && builtin source "$HOME/fig-export/dotfiles/dotfile.zsh"

# CodeWhisperer post block. Keep at the bottom of this file.
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh"
# Q post block. Keep at the bottom of this file.
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh"

0 comments on commit d096096

Please sign in to comment.