File tree Expand file tree Collapse file tree 7 files changed +14
-9
lines changed Expand file tree Collapse file tree 7 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ def install_zsh_completions
381
381
end
382
382
383
383
def update_antidote
384
- system %(zsh -c 'source ${ZDOTDIR:-~}/.antidote/antidote.zsh; antidote update & ; antidote bundle <$HOME/.zsh/plugins/plugins.txt >$HOME/.zsh/plugins.zsh')
384
+ system %(zsh -c 'source ${ZDOTDIR:-~}/.antidote/antidote.zsh; antidote update; antidote bundle <$HOME/.zsh/plugins/plugins.txt >$HOME/.zsh/plugins.zsh')
385
385
end
386
386
387
387
def setup_autohosts
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ plugin tfupdate
32
32
plugin yarn
33
33
version direnv latest
34
34
version helm latest
35
+ version python latest
36
+ version python 3.12.1 # When updating this version mach it with the version in exports.zsh
35
37
# version ruby latest
36
38
version nodejs latest
37
39
version yarn latest
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ case $OSTYPE in
29
29
darwin* )
30
30
COREUTILS_PATH=$BREW_PREFIX /opt/coreutils/libexec/gnubin
31
31
PATH=$COREUTILS_PATH :$PATH
32
- [ -x /opt/homebrew/ bin/brew ] && eval " $( /opt/homebrew /bin/brew shellenv) "
32
+ [ -x $BREW_PREFIX / bin/brew ] && eval " $( $BREW_PREFIX /bin/brew shellenv) "
33
33
export ARCHFLAGS=" -arch x86_64"
34
34
;;
35
35
* ) ;;
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ alias gtts="gt trunk && gt sync"
37
37
alias gtt=" gt trunk"
38
38
alias gts=" gt sync"
39
39
alias gcl=" GIT_TEMPLATE_DIR=$HOME /.git_template g cl"
40
- alias j=" z"
41
40
42
41
alias time=' gtime -f ' \' ' %Us user %Ss system %es real %MkB mem -- %C' \'
43
42
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ export VISUAL=code
11
11
12
12
export COMPOSE_DOCKER_CLI_BUILD=1
13
13
export DOCKER_BUILDKIT=1
14
- export CLOUDSDK_PYTHON=$( asdf where python 3.12.1) /bin/python
14
+ export CLOUDSDK_PYTHON=$( asdf where python 3.12.1) /bin/python # When updating this version mach it with the version in Asdffile
15
15
16
- export FZF_BASE=/usr/local/opt/fzf
16
+ # export FZF_BASE=/usr/local/opt/fzf
17
17
export FZF_DEFAULT_COMMAND=' rg --files --no-ignore --hidden --follow -g "!{.git,node_modules}/*" 2> /dev/null'
18
18
export FZF_CTRL_T_COMMAND=" $FZF_DEFAULT_COMMAND "
19
19
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if type zoxide >/dev/null; then
33
33
eval " $( zoxide init zsh --cmd j) "
34
34
fi
35
35
36
- if [ -d " /usr/local/Caskroom/ google-cloud-sdk/latest/google-cloud-sdk/ " ]; then
37
- source " /usr/local/Caskroom/google-cloud-sdk/latest /google-cloud-sdk/path.zsh.inc"
38
- source " /usr/local/Caskroom/google-cloud-sdk/latest /google-cloud-sdk/completion.zsh.inc"
36
+ if [ -d " $BREW_PREFIX /share/ google-cloud-sdk" ]; then
37
+ source " $BREW_PREFIX /share /google-cloud-sdk/path.zsh.inc"
38
+ source " $BREW_PREFIX /share /google-cloud-sdk/completion.zsh.inc"
39
39
fi
Original file line number Diff line number Diff line change 12
12
13
13
export SYSTEM=$( uname -s)
14
14
export ZHISTFILE=.histfile
15
- export BREW_PREFIX=/usr/local
15
+ if [[ -n $( whence -p brew) ]]; then
16
+ export BREW_PREFIX=$( brew --prefix)
17
+ else
18
+ export BREW_PREFIX=/opt/homebrew
19
+ fi
16
20
17
21
# https://github.com/sorin-ionescu/prezto/blob/master/runcoms/zshenv
18
22
# Ensure that a non-login, non-interactive shell has a defined environment.
You can’t perform that action at this time.
0 commit comments