diff --git a/.zshrc b/.zshrc index ac4d8e8..c752df3 100644 --- a/.zshrc +++ b/.zshrc @@ -211,6 +211,8 @@ alias vi='nvim' alias batc='bat --paging=never' alias batcp='bat --plain --paging=never' alias fixscreen='sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.screensharing.plist && sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist' +alias tf_push='rsync -rvht . devops-cloud-1:~/meex-deploy/ --exclude=.terraform/ --exclude=.terraform.lock.hcl --exclude=terraform.tfstate' +alias tf_pull='rsync -rvht devops-cloud-1:~/meex-deploy/terraform/terraform.tfstate terraform/.' alias git_branch="git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'" alias clean_tmux_session='ls ~/.tmux/resurrect/* -1dtr | head -n 100 | xargs rm -v' alias pn='pnpm'