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 ! 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

View file

@ -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