From d820b64cdf6eb779e77ff3f8cb9102d31084917a Mon Sep 17 00:00:00 2001 From: self Date: Thu, 28 Jul 2022 18:52:52 +0100 Subject: zsh-autopair --- zsh/.zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 264283a..026975e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -66,6 +66,14 @@ setopt PROMPT_SUBST PROMPT='%9c$(git_branch_test_color)%F{none} %# ' RPROMPT='%D{%k:%M:%S}' +########## Configuration ############# +if [[ ! -d ~/.config/zsh/zsh-autopair ]]; then + git clone https://github.com/hlissner/zsh-autopair ~/.config/zsh/zsh-autopair +fi + +source ~/.config/zsh/zsh-autopair/autopair.zsh +autopair-init + ########## Aliases / Functions ########## # Allows declaring abbreviations: # declare a list of expandable aliases to fill up later -- cgit v1.2.1