diff --git a/data/zsh/bottom-zshrc b/data/zsh/bottom-zshrc index 35dcceb..7a874ec 100644 --- a/data/zsh/bottom-zshrc +++ b/data/zsh/bottom-zshrc @@ -1,6 +1,18 @@ # vim: set filetype=zsh: # Put this on bottom of ~/.zshrc +# Alias +alias g="git" +alias moe="make" +alias meo="make" + +# https://github.com/romkatv/powerlevel10k#how-do-i-configure-instant-prompt +typeset -g POWERLEVEL9K_INSTANT_PROMPT=off + +# https://github.com/romkatv/powerlevel10k#mitigation +typeset -g POWERLEVEL9K_TERM_SHELL_INTEGRATION=true +typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() + # https://www.topbug.net/blog/2016/09/27/make-gnu-less-more-powerful/ export LESS="-RF -i -K -s -x2 --wordwrap" @@ -55,11 +67,6 @@ if command -v fzf &>/dev/null; then fi fi -# Alias -alias g="git" -alias moe="make" -alias meo="make" - # https://github.com/BurntSushi/ripgrep if command -v rg &>/dev/null; then export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgreprc" diff --git a/data/zsh/top-zshrc b/data/zsh/top-zshrc index cb909e5..42e68e5 100644 --- a/data/zsh/top-zshrc +++ b/data/zsh/top-zshrc @@ -39,12 +39,6 @@ DISABLE_LS_COLORS="true" # https://github.com/ohmyzsh/ohmyzsh/wiki/Settings#disable_untracked_files_dirty DISABLE_UNTRACKED_FILES_DIRTY="true" -# https://github.com/romkatv/powerlevel10k#how-do-i-configure-instant-prompt -typeset -g POWERLEVEL9K_INSTANT_PROMPT=off - -# https://github.com/romkatv/powerlevel10k#mitigation -typeset -g POWERLEVEL9K_TERM_SHELL_INTEGRATION=true - # https://github.com/zsh-users/zsh-autosuggestions#suggestion-strategy typeset -g ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 typeset -g ZSH_AUTOSUGGEST_HISTORY_IGNORE=$HISTORY_IGNORE