update zsh
This commit is contained in:
+17
-8
@@ -1,15 +1,24 @@
|
||||
# Paths.
|
||||
export ZDOTDIR="$HOME/.config/zsh"
|
||||
|
||||
# Utils.
|
||||
source "$ZDOTDIR/functions"
|
||||
|
||||
# Include files.
|
||||
zsh_include_file "includes/environment"
|
||||
zsh_include_file "includes/aliases"
|
||||
zsh_include_file "includes/prompt"
|
||||
zsh_include_file "includes/nvm"
|
||||
|
||||
# Add plugins.
|
||||
# zsh_add_plugin "hlissner/zsh-autopair"
|
||||
zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
|
||||
export EDITOR="vim"
|
||||
export TERMINAL="st"
|
||||
|
||||
# NVM.
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
|
||||
# opencode
|
||||
export PATH=/home/antoxa/.opencode/bin:$PATH
|
||||
|
||||
# claude
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export ANTHROPIC_BASE_URL=http://localhost:20128/v1
|
||||
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1
|
||||
export ANTHROPIC_MODEL=kr/claude-sonnet-4.5
|
||||
# export ANTHROPIC_AUTH_TOKEN=secret-api-key
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/antoxa/.bun/_bun" ] && source "/home/antoxa/.bun/_bun"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
export EDITOR="vim"
|
||||
export TERMINAL="st"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# NVM.
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
-16
@@ -1,17 +1 @@
|
||||
source $HOME/.config/zsh/.zshrc
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
## [Completion]
|
||||
## Completion scripts setup. Remove the following line to uninstall
|
||||
[[ -f /home/antoxa/.dart-cli-completion/zsh-config.zsh ]] && . /home/antoxa/.dart-cli-completion/zsh-config.zsh || true
|
||||
## [/Completion]
|
||||
|
||||
|
||||
# opencode
|
||||
export PATH=/home/antoxa/.opencode/bin:$PATH
|
||||
|
||||
# claude
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user