From 89fd8ccd77b0ce072e6b44d30859152009334dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20B=C3=BCckendorf?= Date: Sat, 18 May 2019 15:42:12 +0200 Subject: [PATCH] lint --- .bashrc.d/aws-azure-login.sh | 6 ++---- .bashrc.d/neovim.sh | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.bashrc.d/aws-azure-login.sh b/.bashrc.d/aws-azure-login.sh index 07cd9e2..eb5ff64 100644 --- a/.bashrc.d/aws-azure-login.sh +++ b/.bashrc.d/aws-azure-login.sh @@ -1,13 +1,11 @@ # If aws-azure-login is not installed do nothing -if ! command -v aws-azure-login >/dev/null 2>&1 -then +if ! command -v aws-azure-login >/dev/null 2>&1; then return fi # In WSL the no-sandbox parameter is mandatory for aws-azure-login to function # correctly -if truthy $DOTFILES_WSL -then +if truthy $DOTFILES_WSL; then alias aws-azure-login="aws-azure-login --no-sandbox" fi diff --git a/.bashrc.d/neovim.sh b/.bashrc.d/neovim.sh index 2a31073..0b1838b 100644 --- a/.bashrc.d/neovim.sh +++ b/.bashrc.d/neovim.sh @@ -1,7 +1,6 @@ # Use neovim instead of vim if it is present -if command -v nvim >/dev/null 2>&1 -then +if command -v nvim >/dev/null 2>&1; then alias vim="nvim" fi