Last active
August 29, 2023 11:40
-
-
Save MaxDac/46ca202e8456fe91cad5d3f77147ce6f to your computer and use it in GitHub Desktop.
ZSH configuration
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
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 | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
# Plugins | |
plugins=(git) | |
plugins=(asdf) | |
source $ZSH/oh-my-zsh.sh | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# asdf | |
. "$HOME/.asdf/asdf.sh" | |
# append completions to fpath | |
fpath=(${ASDF_DIR}/completions $fpath) | |
# initialise completions with ZSH's compinit | |
autoload -Uz compinit && compinit | |
# Initialising the scripts bound to bash | |
bash -lic 'true' | |
# Enabling VIM mode | |
bindkey -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment