File tree Expand file tree Collapse file tree 3 files changed +39
-6
lines changed
Expand file tree Collapse file tree 3 files changed +39
-6
lines changed Original file line number Diff line number Diff line change @@ -199,8 +199,10 @@ function configureDotfiles() {
199199 link_dotfile " $dotfile "
200200 done
201201
202- link_dotfile " bat-config" " /Users/samm/.config/bat/config"
203- link_dotfile " rsyncd.conf" " /Users/samm/.rsyncd.conf"
202+ link_dotfile " bat-config" " $HOME /.config/bat/config"
203+ link_dotfile " rsyncd.conf" " $HOME /.rsyncd.conf"
204+ link_dotfile " zshrc" " $HOME /.zshrc"
205+ link_dotfile " zprofile" " $HOME /.zprofile"
204206}
205207
206208function configureAmazonQ(){
Original file line number Diff line number Diff line change 1+ # ####### PROFILING #######
2+ # # Uncomment below to enable debug timing
3+ # zmodload zsh/zprof
4+ # # Remember to uncomment zprof at the end of the file!
5+ # #### END PROFILING ######
6+
7+ if [[ " $LOADING_Q " == " true" ]]; then
8+ # Kiro CLI pre block. Keep at the top of this file.
9+ # This is in an if statement because Amazon Q / Kiro CLI is _really_ poorly written and slows down your terminal
10+ # See https://github.com/aws/amazon-q-developer-cli/discussions/202
11+ [[ -f " ${HOME} /Library/Application Support/kiro-cli/shell/zprofile.pre.zsh" ]] && builtin source " ${HOME} /Library/Application Support/kiro-cli/shell/zprofile.pre.zsh"
12+ fi
13+
14+
15+ # echo ".zprofile loaded now"
16+ if [[ " $LOADING_Q " == " true" ]]; then
17+ # Kiro CLI post block. Keep at the bottom of this file.
18+ # This is in an if statement because Amazon Q / Kiro CLI is _really_ poorly written and slows down your terminal
19+ # See https://github.com/aws/amazon-q-developer-cli/discussions/202
20+ [[ -f " ${HOME} /Library/Application Support/kiro-cli/shell/zprofile.post.zsh" ]] && builtin source " ${HOME} /Library/Application Support/kiro-cli/shell/zprofile.post.zsh"
21+ fi
22+
23+ export PATH=" $HOME /.local/bin:$PATH "
24+
25+ # Added by OrbStack: command-line tools and integration
26+ # This won't be added again if you remove it.
27+ source " $HOME /.orbstack/shell/init.zsh" 2> /dev/null || :
Original file line number Diff line number Diff line change 1- # Amazon Q pre block. Keep at the top of this file.
1+
22# ## q slow debugging ###
33# date
44# echo "STARTING: amazon q pre block loading from .zshrc"
77# ###
88# only run if LOADING_Q is true
99if [[ " $LOADING_Q " == " true" ]]; then
10- # Amazon Q post block. Keep at the bottom of this file.
11- [[ -f " ${HOME} /Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source " ${HOME} /Library/Application Support/amazon-q/shell/zshrc.pre.zsh"
10+ # Kiro CLI post block. Keep at the bottom of this file.
11+ # This is in an if statement because Amazon Q / Kiro CLI is _really_ poorly written and slows down your terminal
12+ # See https://github.com/aws/amazon-q-developer-cli/discussions/202
13+ [[ -f " ${HOME} /Library/Application Support/kiro-cli/shell/zshrc.pre.zsh" ]] && builtin source " ${HOME} /Library/Application Support/kiro-cli/shell/zshrc.pre.zsh"
1214fi
1315# ### q slow debugging ###
1416# date
@@ -133,7 +135,9 @@ if [ -f '/Users/samm/Downloads/google-cloud-sdk/completion.zsh.inc' ] && if_not_
133135# # Amazon Q post block. Keep at the bottom of this file.
134136if [[ " $LOADING_Q " == " true" ]]; then
135137# Amazon Q post block. Keep at the bottom of this file.
136- [[ -f " ${HOME} /Library/Application Support/amazon-q/shell/zshrc.post.zsh" ]] && builtin source " ${HOME} /Library/Application Support/amazon-q/shell/zshrc.post.zsh"
138+ # This is in an if statement because Amazon Q / Kiro CLI is _really_ poorly written and slows down your terminal
139+ # See https://github.com/aws/amazon-q-developer-cli/discussions/202
140+ [[ -f " ${HOME} /Library/Application Support/kiro-cli/shell/zshrc.post.zsh" ]] && builtin source " ${HOME} /Library/Application Support/kiro-cli/shell/zshrc.post.zsh"
137141fi
138142
139143# ####### PROFILING #######
You can’t perform that action at this time.
0 commit comments