Changed from fish to ZSH
This commit is contained in:
1769
.config/zsh/.p10k.zsh
Normal file
1769
.config/zsh/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
37
.config/zsh/.zshrc
Normal file
37
.config/zsh/.zshrc
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
setopt autocd extendedglob
|
||||
bindkey -e
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/acid/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# End of lines added by compinstall
|
||||
|
||||
fpath=(~/.zsh/zsh-completions/src $fpath)
|
||||
|
||||
source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
|
||||
|
||||
# Plugins
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source ~/.zsh/command-not-found/command-not-found.plugin.zsh
|
||||
|
||||
|
||||
# Aliases
|
||||
alias config-git="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $argv"
|
||||
Reference in New Issue
Block a user