File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ If (Get-Command gcalcli -ErrorAction SilentlyContinue) {
51
51
Set-Alias - Name caladd - Value New-CalendarEvent
52
52
}
53
53
54
+ # git-crypt
55
+ If (Get-Command git- crypt - ErrorAction SilentlyContinue) {
56
+ Set-Alias - Name gcrypts - Value Get-GitCryptStatus
57
+ Set-Alias - Name gcrypt - Value git- crypt
58
+ Set-Alias - Name gcryptf Invoke-GitCryptStatus
59
+ }
60
+
54
61
# If using code-insiders
55
62
If (Get-Command code- insiders - ErrorAction SilentlyContinue) {
56
63
Set-Alias - Name codee - Value code- insiders
Original file line number Diff line number Diff line change @@ -181,6 +181,14 @@ Function Get-MySecret($name) {
181
181
Get-Secret - Name $name - AsPlainText
182
182
}
183
183
184
+ Function Get-GitCryptStatus {
185
+ git- crypt status - e
186
+ }
187
+
188
+ Function Invoke-GitCryptStatus {
189
+ git- crypt status -f
190
+ }
191
+
184
192
# ------------------
185
193
# Remoting
186
194
# ------------------
You can’t perform that action at this time.
0 commit comments