Created
March 6, 2023 17:56
-
-
Save ademar111190/54e5e0a986a6ee9062dcd6c411f840e4 to your computer and use it in GitHub Desktop.
Just a zsh file
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
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
export ZSH="${HOME}/.oh-my-zsh" | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
plugins=( | |
git | |
) | |
source $ZSH/oh-my-zsh.sh | |
export vim=nvim | |
export VISUAL=$vim | |
export EDITOR="$VISUAL" | |
export LC_ALL=en_US.UTF-8 | |
alias ls="exa --icons" | |
alias la="exa -alh --icons" | |
alias cat=bat | |
alias v=$vim | |
alias vi=$vim | |
alias vim=$vim | |
alias clear-branchs="git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D" | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment