summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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