Last active
September 14, 2024 09:13
-
-
Save roman2ing/1a5f31c208a9fd8b1aee279117c1e9ed to your computer and use it in GitHub Desktop.
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
if [[ ! -e ~/.zcomet/bin ]]; then | |
git clone --depth=1 https://github.com/agkozak/zcomet.git ~/.zcomet/bin | |
fi | |
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 | |
source ~/.zcomet/bin/zcomet.zsh | |
ZSH_AUTOSUGGEST_MANUAL_REBIND=1 | |
zcomet load agkozak/zsh-z | |
zcomet load ohmyzsh plugins/gitfast | |
zcomet load ael-code/zsh-colored-man-pages | |
zcomet load zsh-users/zsh-syntax-highlighting | |
# zcomet load zsh-users/zsh-autosuggestions | |
zcomet load zsh-users/zsh-history-substring-search | |
zcomet load romkatv/powerlevel10k | |
zcomet compinit | |
source ~/.p10k.zsh | |
export HISTFILE=~/.zsh_history | |
export SAVEHIST=1000000 | |
export HISTSIZE=10000000 | |
# zsh-history-substring-search config | |
bindkey '^[[A' history-substring-search-up # or '\eOA' | |
bindkey '^[[B' history-substring-search-down # or '\eOB' | |
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment