Created
February 8, 2025 11:39
-
-
Save JayDoubleu/6dc50e4f1250602c848e266e0f5580f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH | |
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="robbyrussell" | |
DISABLE_MAGIC_FUNCTIONS="true" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh # First source oh-my-zsh | |
# Then set your custom prompt | |
PROMPT='%{$fg[cyan]%}%m%{$reset_color%} ${ret_status}%{$fg_bold[green]%}➜ %{$fg_bold[blue]%}%c%{$reset_color%} $(git_prompt_info)' | |
if [[ -n $SSH_CONNECTION ]]; then | |
export EDITOR='vim' | |
else | |
export EDITOR='nvim' | |
fi | |
alias vi=nvim | |
alias vim=nvim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment