mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Fix zsh
This commit is contained in:
parent
49642fefdc
commit
34b106d6e5
2 changed files with 6 additions and 3 deletions
|
@ -43,7 +43,7 @@
|
||||||
"type": "openai",
|
"type": "openai",
|
||||||
"default_model": "gpt-3.5-turbo",
|
"default_model": "gpt-3.5-turbo",
|
||||||
// "default_model": "anthropic/claude-3-haiku",
|
// "default_model": "anthropic/claude-3-haiku",
|
||||||
"api_url": "http://localhost:4444",
|
//"api_url": "http://localhost:4444",
|
||||||
//"api_url": "https://openrouter.ai/api/v1",
|
//"api_url": "https://openrouter.ai/api/v1",
|
||||||
}
|
}
|
||||||
// "provider": {
|
// "provider": {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# history config
|
# history config
|
||||||
HISTSIZE=50000
|
HISTSIZE=50000
|
||||||
SAVEHIST=50000
|
SAVEHIST=50000
|
||||||
|
@ -89,7 +88,11 @@ autoload -Uz promptinit && promptinit
|
||||||
|
|
||||||
|
|
||||||
# alias
|
# alias
|
||||||
alias ls="lsd"
|
if command -v lsd >/dev/null; then
|
||||||
|
alias ls="lsd"
|
||||||
|
elif command -v exa >/dev/null; then
|
||||||
|
alias ls="exa"
|
||||||
|
fi
|
||||||
alias dots="git -C $HOME/dots-of-war"
|
alias dots="git -C $HOME/dots-of-war"
|
||||||
|
|
||||||
# load prompt
|
# load prompt
|
||||||
|
|
Loading…
Reference in a new issue