Skip to content

Instantly share code, notes, and snippets.

@JayDoubleu
Created February 8, 2025 11:39
Show Gist options
  • Save JayDoubleu/6dc50e4f1250602c848e266e0f5580f1 to your computer and use it in GitHub Desktop.
Save JayDoubleu/6dc50e4f1250602c848e266e0f5580f1 to your computer and use it in GitHub Desktop.
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