My dotfiles
1$env:GIT_SSH = (Resolve-Path (Get-Command ssh).source)
2$env:EDITOR = "hx"
3
4Set-Alias g git
5Set-Alias l gci
6Set-Alias j jj
7
8function New-File {
9 param($name)
10 New-Item -ItemType File $name
11}
12
13oh-my-posh init pwsh --config "$env:USERPROFILE/source/dotfiles/benjamin.omp.json" | Invoke-Expression
14zoxide init powershell | Out-String | Invoke-Expression
15mise activate pwsh | Out-String | Invoke-Expression
16
17# jj helper functions
18function jl {
19 jj log
20}
21
22function jpm {
23 jj bookmark set -r `@- main
24 jj git push
25}
26
27# WSL helper functions
28function fish {
29 wsl --cd ~ /home/linuxbrew/.linuxbrew/bin/fish -l
30}