up term
This commit is contained in:
25
.zshrc
25
.zshrc
@@ -1,3 +1,10 @@
|
||||
# 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
|
||||
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=2000
|
||||
SAVEHIST=2000
|
||||
@@ -6,17 +13,25 @@ bindkey -v
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
bindkey "\e[3~" delete-char
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
autoload -Uz compinit && compinit
|
||||
zstyle ':completion:*' menu select
|
||||
# End of lines added by compinstall
|
||||
|
||||
export EDITOR=nvim
|
||||
export TERM='xterm-256color'
|
||||
|
||||
source /home/nnduc/git/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
zshaddhistory() {
|
||||
whence ${${(z)1}[1]} >/dev/null || return 2
|
||||
}
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
export EDITOR=nvim
|
||||
export TERM='xterm-256color'
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias doc='docker-compose'
|
||||
source ~/git/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
Reference in New Issue
Block a user