diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-18 15:15:52 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-18 15:15:52 +0200 |
commit | 615b64d6f46d19fb33d10c5b8cc89609a61360dc (patch) | |
tree | 85a55465ca03220e473f70faa565f539fa0dec03 /.config/zsh | |
parent | Added .zshenv, .zshrc README.org update (diff) | |
download | dotfiles-bsd-615b64d6f46d19fb33d10c5b8cc89609a61360dc.tar.gz dotfiles-bsd-615b64d6f46d19fb33d10c5b8cc89609a61360dc.tar.bz2 dotfiles-bsd-615b64d6f46d19fb33d10c5b8cc89609a61360dc.tar.xz dotfiles-bsd-615b64d6f46d19fb33d10c5b8cc89609a61360dc.tar.zst dotfiles-bsd-615b64d6f46d19fb33d10c5b8cc89609a61360dc.zip |
.zshrc org file done
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 22 | ||||
-rw-r--r-- | .config/zsh/README.org | 2 |
2 files changed, 4 insertions, 20 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 37f1cf0..d9812a8 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,7 +1,5 @@ -# prompt autoload -U colors && colors -# history HISTSIZE=5000 SAVEHIST=5000 HISTFILE=$XDG_CONFIG_HOME/zsh/history @@ -9,7 +7,9 @@ autoload -U history-search-end zle -N history-beginning-search-backward-end history-search-end zle -N history-beginning-search-forward-end history-search-end -# completions +setopt inc_append_history +setopt share_history + autoload -U compinit zstyle ':completion:*' menu select zstyle ':completion:*' list-colors 'di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' @@ -17,7 +17,6 @@ zmodload zsh/complist compinit _comp_options+=(globdots) -# vi mode and key bindings bindkey -v export KEYTIMEOUT=1 bindkey -M menuselect 'h' vi-backward-char @@ -32,24 +31,9 @@ bindkey -v "^J" history-beginning-search-forward bindkey -M vicmd "k" history-beginning-search-backward bindkey -M vicmd "j" history-beginning-search-forward -# edit command line autoload edit-command-line && zle -N edit-command-line bindkey "^e" edit-command-line -# Shared history -setopt inc_append_history -setopt share_history - -# OBS -# if [ -z "$XDG_RUNTIME_DIR" ]; then -# export XDG_RUNTIME_DIR="/tmp/${USER}" -# if [ ! -d "$XDG_RUNTIME_DIR" ]; then -# mkdir "$XDG_RUNTIME_DIR" -# chmod 0700 "$XDG_RUNTIME_DIR" -# fi -# fi - -# alias and plugins [ -f "$XDG_CONFIG_HOME/zsh/alias.zsh" ] && source $ZDOTDIR/alias.zsh [ -f "$XDG_CONFIG_HOME/zsh/plugins.zsh" ] && source $ZDOTDIR/plugins.zsh diff --git a/.config/zsh/README.org b/.config/zsh/README.org index d390af6..d458e87 100644 --- a/.config/zsh/README.org +++ b/.config/zsh/README.org @@ -1,5 +1,5 @@ #+TITLE: ZSH configuration -#+PROPERTY: +#+PROPERTY: header-args :tangle .zshrc This is my ~.zshrc~ org file. Pretty straight forward. |