From 49bce64ce9bfc6741a4b4912e4dbc5c26a4a179f Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 6 Dec 2020 21:39:35 -0500 Subject: .vimrc: Function notify consistency --- .vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 5a2a6cd..545a822 100644 --- a/.vimrc +++ b/.vimrc @@ -88,28 +88,28 @@ set guioptions-=e " Remove tab bar in GUI. " PHP Fixer function! PHPFix() - :silent !notify-send "$(phpcbf % 2>&1)" + :silent !notify-send -t 10000 "$(phpcbf % 2>&1)" > /dev/null 2>&1 :redraw! endfunction " ESLint Fix function! ESLintFix() - :silent !notify-send -t 10000 "$(eslint -c $HOME/.config/eslintrc.yml --fix %)" > /dev/null 2>&1 + :silent !notify-send -t 10000 "$(eslint -c $HOME/.config/eslintrc.yml --fix % 2>&1)" > /dev/null 2>&1 endfunction " Ansible Check function! AnsibleCheck() - :silent !notify-send -t 10000 "$(ansible-playbook --syntax-check % 2>&1)" & + :silent !notify-send -t 10000 "$(ansible-playbook --syntax-check % 2>&1)" > /dev/null 2>&1 & endfunction " Shell Check function! ShellCheck() - :silent !notify-send -t 10000 "$(shellcheck -x --exclude=SC1090,SC1091 % && echo 'Shellcheck OK: %')" > /dev/null 2>&1 & + :silent !notify-send -t 10000 "$(shellcheck -x --exclude=SC1090,SC1091 % 2>&1 && echo 'Shellcheck OK: %')" > /dev/null 2>&1 & endfunction " Nix Check function! NixCheck() - :silent !notify-send -t 10000 "$(nix-linter % 2>&1 && echo 'Nix Lint OK: %' && nixfmt %)" > /dev/null 2>&1 + :silent !notify-send -t 10000 "$(nix-linter % 2>&1 && echo 'Nix Lint OK: %' && nixfmt % 2>&1)" > /dev/null 2>&1 :redraw! endfunction -- cgit v1.2.3