add fizsh
This commit is contained in:
parent
a861e038d1
commit
bd92a2a480
2 changed files with 592 additions and 0 deletions
7
zshrc
7
zshrc
|
@ -26,6 +26,13 @@ autoload -U colors && colors
|
|||
PS1="[%*] %{$fg[red]%}%n@%m%{$reset_color%} %{$fg[green]%}%~%{$reset_color%} "'$(git_status | xargs echo)'"
|
||||
%(?.$.%%) "; setopt promptsubst
|
||||
|
||||
# Loading fizsh
|
||||
source "$HOME/.config/zsh/zsh-history-substring-search.zsh"
|
||||
zmodload zsh/terminfo
|
||||
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||
setopt HIST_FIND_NO_DUPS
|
||||
|
||||
# XDG dirs
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue