This commit is contained in:
Gregor Bückendorf 2019-05-18 15:42:12 +02:00
parent 9867ab3cac
commit 89fd8ccd77
2 changed files with 3 additions and 6 deletions

View file

@ -1,13 +1,11 @@
# If aws-azure-login is not installed do nothing # If aws-azure-login is not installed do nothing
if ! command -v aws-azure-login >/dev/null 2>&1 if ! command -v aws-azure-login >/dev/null 2>&1; then
then
return return
fi fi
# In WSL the no-sandbox parameter is mandatory for aws-azure-login to function # In WSL the no-sandbox parameter is mandatory for aws-azure-login to function
# correctly # correctly
if truthy $DOTFILES_WSL if truthy $DOTFILES_WSL; then
then
alias aws-azure-login="aws-azure-login --no-sandbox" alias aws-azure-login="aws-azure-login --no-sandbox"
fi fi

View file

@ -1,7 +1,6 @@
# Use neovim instead of vim if it is present # Use neovim instead of vim if it is present
if command -v nvim >/dev/null 2>&1 if command -v nvim >/dev/null 2>&1; then
then
alias vim="nvim" alias vim="nvim"
fi fi