summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-13 10:23:52 +0200
committerPaul Buetow <paul@buetow.org>2026-03-13 10:23:52 +0200
commitaf6d3b1526c203f8f7ed0321f4faad9ff5b9dd51 (patch)
treee02a8cb63b921b0046215a0a770f8735cfc1cf9e
parentb2bf3d5140a11b5d7c820ead311e9807812e57f8 (diff)
terraform
-rw-r--r--fish/conf.d/editor.fish2
-rw-r--r--fish/conf.d/utils.fish2
2 files changed, 3 insertions, 1 deletions
diff --git a/fish/conf.d/editor.fish b/fish/conf.d/editor.fish
index 309cb1e..8706eea 100644
--- a/fish/conf.d/editor.fish
+++ b/fish/conf.d/editor.fish
@@ -45,7 +45,7 @@ function hxdiff
end
function tfdiff
- hxdiff --exclude=.claude --exclude=.cursor --exclude='*.tfplan' --exclude=modules.json --exclude=.terraform --exclude=.terraform.lock.hcl $argv
+ hxdiff --exclude=.claude --exclude=.cursor --exclude='tfplan' --exclude='*.tfplan' --exclude=modules.json --exclude=.terraform --exclude=.terraform.lock.hcl $argv
end
abbr -a lhx 'editor::helix::open_with_lock'
diff --git a/fish/conf.d/utils.fish b/fish/conf.d/utils.fish
index 33854a5..d78ad59 100644
--- a/fish/conf.d/utils.fish
+++ b/fish/conf.d/utils.fish
@@ -111,6 +111,8 @@ end
abbr wetter 'curl http://wttr.in'
abbr tf terraform
+abbr tfplan 'terraform plan -out=tfplan'
+abbr tfappl 'terraform apply tfplan'
function touchtype
tt --noskip --noreport --showwpm --bold --theme (tt -list themes | sort -R | head -n1) $argv