Created
August 13, 2024 13:32
-
-
Save mike-ward/b07cb0b356d7f58e571f1441cd32781e to your computer and use it in GitHub Desktop.
.zshrc config
This file contains 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
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="" | |
PROMPT=$'\n'"%F{172}⏺︎ %F{69} %0~ %F{cyan}\$vcs_info_msg_0_"$'\n'"%F{172}╰─ ▶%f " | |
plugins=(k) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# Preferred editor for local and remote sessions | |
if [[ -n $SSH_CONNECTION ]]; then | |
export EDITOR='cot' | |
else | |
export EDITOR='cot' | |
fi | |
LS_COLORS='di=1;36:ln=1;34:so=30;45:pi=30;45:ex=1;31:bd=30;46:cd=30;46:su=30:fi=32' | |
[[ "$TERM_PROGRAM" == "CodeEditApp_Terminal" ]] && . "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh" | |
source /Users/mike/.config/broot/launcher/bash/br | |
alias lsv="~/Documents/github/lsv/bin/lsv" | |
alias ll="~/Documents/github/lsv/bin/lsv -lickJg" | |
alias la="~/Documents/github/lsv/bin/lsv -lickJga" | |
alias vmatrix="v run ~/Documents/github/v/examples/vmatrix.v" | |
alias digital_rain="v run ~/Documents/github/v/examples/gg/digital_rain.v" | |
# Set up fzf key bindings and fuzzy completion | |
source <(fzf --zsh) | |
# zoxide | |
eval "$(zoxide init --cmd cd zsh)" | |
# Git Integration | |
autoload -Uz vcs_info | |
precmd_vcs_info() { vcs_info } | |
precmd_functions+=( precmd_vcs_info ) | |
setopt prompt_subst | |
zstyle ':vcs_info:git:*' formats '%b' | |
zstyle ':vcs_info:*' enable git | |
zstyle ':vcs_info:*' check-for-changes false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment