From 007f41c4a08ba695e4c2fc0f8fc18152296bbc94 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Tue, 2 Apr 2019 17:10:34 +0300 Subject: [PATCH] use nvim editor, config email --- .bin/notmuch_tag_status | 2 +- .config/astroid/config | 2 +- .gitconfig | 2 +- .zshrc | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.bin/notmuch_tag_status b/.bin/notmuch_tag_status index 4c913c9..7881b41 100755 --- a/.bin/notmuch_tag_status +++ b/.bin/notmuch_tag_status @@ -2,5 +2,5 @@ # Show a table of tag and now many unread emails under that tag for tag in $(notmuch search --output=tags '*'); do - echo -ne "${tag} | $(notmuch count tag:${tag} and tag:unread) \n"; + echo -ne "${tag} | $(notmuch count tag:\"${tag}\" and tag:unread) \n"; done | column -s '|' -t diff --git a/.config/astroid/config b/.config/astroid/config index 0123e6c..b5ccb2b 100644 --- a/.config/astroid/config +++ b/.config/astroid/config @@ -22,7 +22,7 @@ "email": "arti.zirk@gmail.com", "gpgkey": "", "always_gpg_sign": "false", - "sendmail": "", + "sendmail": "msmtp -a arti.zirk@gmail.com --read-envelope-from -i -t", "default": "true", "save_sent": "true", "save_sent_to": "\/home\/arti\/Mail\/sent\/cur\/", diff --git a/.gitconfig b/.gitconfig index 1ffc334..8a4539b 100644 --- a/.gitconfig +++ b/.gitconfig @@ -14,7 +14,7 @@ [instaweb] httpd = webrick [core] - editor = nano + editor = nvim quotepath = false [credential] helper = /usr/lib/git-core/git-credential-libsecret diff --git a/.zshrc b/.zshrc index 4900707..d4258fc 100644 --- a/.zshrc +++ b/.zshrc @@ -5,6 +5,8 @@ function virtual_env_prompt () { } grml_theme_add_token virtual-env -f virtual_env_prompt '%F{magenta}' '%f' zstyle ':prompt:grml:left:setup' items rc virtual-env change-root user at host path vcs percent +# Disable right side sad smiley, works nicer with resized terminal +zstyle ':prompt:grml:right:setup' use-rprompt false source /etc/profile.d/vte.sh @@ -44,8 +46,8 @@ zstyle ':filter-select:highlight' matched fg=green zstyle ':filter-select' max-lines 3 zstyle ':filter-select' extended-search yes -EDITOR=nano -VISUAL=nano +EDITOR=nvim +VISUAL=nvim # iostat colors export S_COLORS=auto