adds zsh config
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
unsetopt prompt_cr prompt_sp
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.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
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.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
|
||||
GITSTATUS_LOG_LEVEL=DEBUG
|
||||
|
||||
ZSH=/usr/share/oh-my-zsh/
|
||||
# export TERM="xterm-256color"
|
||||
#ZSH_THEME="theunraveler"
|
||||
#ZSH_THEME="flazz"
|
||||
#powerline-daemon -q
|
||||
#. /usr/lib/python3.8/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||
|
||||
autoload -U colors && colors
|
||||
# PS1="\\u@\h \\W\\$"
|
||||
|
||||
HISTFILE=~/.config/history
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=100000
|
||||
setopt appendhistory autocd extendedglob
|
||||
setopt no_complete_aliases
|
||||
unsetopt beep
|
||||
bindkey -v
|
||||
zstyle :compinstall filename '/home/mark/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
kitty + complete setup zsh | source /dev/stdin
|
||||
plugins=(
|
||||
vi-mode
|
||||
git
|
||||
colored-man-pages
|
||||
command-not-found
|
||||
pass
|
||||
docker)
|
||||
|
||||
#fzf
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source ~/.aliasrc
|
||||
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
|
||||
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
|
||||
|
||||
setopt PROMPT_CR
|
||||
setopt PROMPT_SP
|
||||
export PROMPT_EOL_MARK=""
|
||||
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
|
||||
Reference in New Issue
Block a user