Skip to content

Commit

Permalink
Add gcme and fix fuck bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
codyduong committed Mar 27, 2024
1 parent a3c88c4 commit 5be2308
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions windows/aliases/git.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contains my other git shorthands that are not in https://github.com/codyduong/powershell-git-aliases-plus/tree/master
# or not part of the oh-my-zsh aliases
function gcme {
git commit --message $args
}
2 changes: 1 addition & 1 deletion windows/scripts/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ for ($i = $bootstrapLines.Length; $i -ge 0; $i--) {

## Setup thefuck alias
$script:fuckPath = Join-Path $aliasesDir "fuck.ps1"
thefuck --alias | Set-Content -Path $fuckPath
"`$env:PYTHONIOENCODING=`"utf-8`"`r`n`$(thefuck --alias)" | Set-Content -Path $fuckPath

## Setup oh-my-posh (precompute here to save time)
# https://ohmyposh.dev/docs/configuration/debug-prompt <-- this prompt I never use, so manually disable it
Expand Down

0 comments on commit 5be2308

Please sign in to comment.