Skip to content
Snippets Groups Projects
Commit d31b8e25 authored by nimrod's avatar nimrod
Browse files

tfvf: Init the module.

parent b604b840
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ alias sudome="sudome "
alias tfa='tf apply tfplan'
alias tfaa='tf apply -auto-approve'
alias tfp='tf plan -out tfplan'
alias tfvf='tf validate && tf fmt -diff'
alias tfvf='tf init -backend=false && tf validate && tf fmt -diff'
alias todo="vim \$HOME/Documents/TODO.yml"
# shellcheck disable=SC2142
alias tolower='awk "{print tolower(\$0)}"'
......@@ -425,9 +425,11 @@ if [ "$HOSTNAME" = 'toolbox' ]
then
alias flatpak-spawn='/usr/libexec/flatpak-xdg-utils/flatpak-spawn --host'
gio () { /usr/libexec/flatpak-xdg-utils/flatpak-spawn --host gio "$@"; }
[ ! -S "$XDG_RUNTIME_DIR/podman/podman.sock" ] ||
[ ! -w "$XDG_RUNTIME_DIR/podman/podman.sock" ] ||
if [ -S "$XDG_RUNTIME_DIR/podman/podman.sock" ] && [ -w "$XDG_RUNTIME_DIR/podman/podman.sock" ]
then
alias podman='podman --remote'
export DOCKER_HOST=unix://"$XDG_RUNTIME_DIR/podman/podman.sock"
fi
fi
# shellcheck disable=SC2119
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment