From 34b106d6e56b41db8e9baa1ab6ce277f45940975 Mon Sep 17 00:00:00 2001 From: Leon Kowarschick Date: Wed, 24 Apr 2024 12:49:11 +0200 Subject: [PATCH] Fix zsh --- zed/.config/zed/settings.json | 2 +- zsh/.config/zsh/.zshrc | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/zed/.config/zed/settings.json b/zed/.config/zed/settings.json index 833676b..dd63999 100644 --- a/zed/.config/zed/settings.json +++ b/zed/.config/zed/settings.json @@ -43,7 +43,7 @@ "type": "openai", "default_model": "gpt-3.5-turbo", // "default_model": "anthropic/claude-3-haiku", - "api_url": "http://localhost:4444", + //"api_url": "http://localhost:4444", //"api_url": "https://openrouter.ai/api/v1", } // "provider": { diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index d8f562f..9817f13 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -1,4 +1,3 @@ - # history config HISTSIZE=50000 SAVEHIST=50000 @@ -89,7 +88,11 @@ autoload -Uz promptinit && promptinit # 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" # load prompt