Add ZSH/Bash Completions; Add LMStudio to Path
This commit is contained in:
15
zsh/.zshrc
15
zsh/.zshrc
@@ -38,7 +38,7 @@ export NOMAD_ADDR=http://pandora.cortex.io:4646
|
|||||||
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
||||||
|
|
||||||
# ---- Oh-My-Posh ----
|
# ---- Oh-My-Posh ----
|
||||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
|
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
|
||||||
then
|
then
|
||||||
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
||||||
fi
|
fi
|
||||||
@@ -56,9 +56,16 @@ source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
|
|||||||
# opencode
|
# opencode
|
||||||
export PATH=/Users/caleb/.opencode/bin:$PATH
|
export PATH=/Users/caleb/.opencode/bin:$PATH
|
||||||
|
|
||||||
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
|
# ZSH/Bash Completions
|
||||||
fpath=(/Users/caleb/.docker/completions $fpath)
|
fpath=(/Users/caleb/.docker/completions $fpath) #Docker
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
# End of Docker CLI completions
|
eval "$(op completion zsh)"; compdef _op op #1Password
|
||||||
|
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/consul consul
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/nomad nomad
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/nomad vault
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$PATH:/Users/caleb/.lmstudio/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user