diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-02 18:13:09 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-02 18:13:09 -0800 |
commit | af213597bfd3f0993fa5957cb267c6a09039db16 (patch) | |
tree | 2876943bc71af614df87f0b35a575029fe8d4267 /zshrc | |
parent | org: clean up config (diff) | |
download | emacs.d-af213597bfd3f0993fa5957cb267c6a09039db16.tar.gz |
remove non-emacs configuration
Only keep emacs' configuration in this repository. Everything else is moved to the repository with my configuration for linux.
Diffstat (limited to '')
-rw-r--r-- | zshrc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/zshrc b/zshrc deleted file mode 100644 index f6a5f71..0000000 --- a/zshrc +++ /dev/null @@ -1,47 +0,0 @@ -autoload -U compinit -compinit -C - -HISTFILE=~/.zhistory -SAVEHIST=1000 -setopt append_history -setopt hist_ignore_space -setopt share_history - -setopt auto_menu # show completion menu on successive tab press -setopt complete_in_word -setopt always_to_end - -zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' - -autoload -U select-word-style -autoload -U colors && colors - -autoload -Uz vcs_info add-zsh-hook -setopt prompt_subst - -add-zsh-hook precmd vcs_info -# Enable checking for (un)staged changes, enabling use of %u and %c -zstyle ':vcs_info:*' check-for-changes true -# Set custom strings for an unstaged vcs repo changes (*) and staged changes (+) -zstyle ':vcs_info:*' unstagedstr "%F{yellow}●%f" -zstyle ':vcs_info:*' stagedstr "%F{green}●%f" -# Set the format of the Git information for vcs_info -zstyle ':vcs_info:git:*' formats " (%b%c%u)" -zstyle ':vcs_info:git:*' actionformats " (%b|%a%u%c)" - -# Print timing statistics for everything which takes longer than 5 seconds of -# user + system time ('sleep 6' does not work because of 0% user/system time!). -REPORTTIME=5 - -# Explicitly select Emacs line editing mode (independent of zsh’s best guess -# based on EDITOR/VISUAL). -bindkey -e - -PROMPT='%K{cyan}%F{black}%m%k%f %~%F{red}${vcs_info_msg_0_}%f %# ' - -# For tramp (emacs). -if [ "$TERM" = "dumb" ]; then - unset PROMPT - PS1='$ ' - unsetopt zle -fi |