lint
This commit is contained in:
parent
9867ab3cac
commit
89fd8ccd77
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue