Zshrc fixes for mac

This commit is contained in:
2026-03-12 19:26:49 +05:30
parent 8284d6b522
commit 7ad4baa14c
3 changed files with 6 additions and 224 deletions

12
.zshrc
View File

@@ -70,7 +70,7 @@ COMPLETION_WAITING_DOTS="true"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git zsh-autosuggestions starship)
plugins=(git starship)
source $ZSH/oh-my-zsh.sh
@@ -82,11 +82,11 @@ source $ZSH/oh-my-zsh.sh
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='nvim'
# fi
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
# Compilation flags
# export ARCHFLAGS="-arch $(uname -m)"