Skip to content

Commit 203410e

Browse files
committed
install: update install setup
1 parent 8ac9cc9 commit 203410e

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.config/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ set_zsh_default() {
178178
return
179179
fi
180180

181-
if [ "$SHELL" = "$(command -v zsh)" ]; then
181+
# Compare basename to handle different zsh paths (e.g., /bin/zsh vs /usr/bin/zsh)
182+
if [ "$(basename "$SHELL")" = "zsh" ]; then
182183
print_success "zsh is already the default shell"
183184
return
184185
fi

.config/opencode/opencode.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://opencode.ai/config.json",
33
"theme": "rosepine",
4-
"model": "anthropic/claude-sonnet-4-5",
4+
"model": "anthropic/claude-opus-4-5",
55
"instructions": [
66
"CONTRIBUTING.md",
77
"docs/guidelines.md",

.config/zsh/aliases.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ alias ghp="gh pr"
1111
alias gdc='git diff --cached'
1212
alias ai='opencode'
1313
alias src='source ~/.zshrc && echo "Reloaded .zshrc"'
14+
alias tasks='taskwarrior-tui'
1415
alias plugpull="find ${ZDOTDIR:-$HOME}/.zsh_plugins -type d -exec test -e '{}/.git' ';' -print0 | xargs -I {} -0 git -C {} pull"
1516

1617
alias l='eza --git-ignore $eza_params'

.config/zsh/oh-my-zsh.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ plugins=(
2323
github_plugins=(
2424
zsh-users/zsh-autosuggestions
2525
zsh-users/zsh-syntax-highlighting
26+
zplugin/zsh-eza
2627
)
2728

2829
for plugin in $github_plugins; do

.zshrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ fi
3434
source $DOTFILES_ZSH/aliases.zsh
3535

3636
# | STARSHIP |
37-
eval "$(starship init zsh)"
37+
if [ $(command -v "starship") ]; then
38+
eval "$(starship init zsh)"
39+
fi
3840

3941
# End profiling
4042
# zprof

0 commit comments

Comments
 (0)