diff options
author | tdro <tdro@users.noreply.github.com> | 2020-12-06 21:39:35 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-12-06 21:39:35 -0500 |
commit | 49bce64ce9bfc6741a4b4912e4dbc5c26a4a179f (patch) | |
tree | b38caff87583b4bd7a46f31de93594e2bb3c127c /.vimrc | |
parent | 2b91d8708e9beedb72df062ebd7d740dad974307 (diff) | |
download | dotfiles-49bce64ce9bfc6741a4b4912e4dbc5c26a4a179f.tar.gz dotfiles-49bce64ce9bfc6741a4b4912e4dbc5c26a4a179f.tar.bz2 dotfiles-49bce64ce9bfc6741a4b4912e4dbc5c26a4a179f.zip |
.vimrc: Function notify consistency
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |