mirror of https://git.jolheiser.com/dotnix.git
parent
5f16a3901e
commit
37490438a5
|
@ -60,6 +60,14 @@ def fg [args ...string] {
|
||||||
| ^fzf --ansi --color 'hl:-1:underline,hl+:-1:underline:reverse' --delimiter ':' --preview "bat --color=always {1} --theme='ctp-mocha' --highlight-line {2}" --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' --bind $"enter:become\(($env.EDITOR) +{2} {1}\)"
|
| ^fzf --ansi --color 'hl:-1:underline,hl+:-1:underline:reverse' --delimiter ':' --preview "bat --color=always {1} --theme='ctp-mocha' --highlight-line {2}" --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' --bind $"enter:become\(($env.EDITOR) +{2} {1}\)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def gomodsri [] {
|
||||||
|
let tmp = (mktemp -d)
|
||||||
|
go mod vendor -o $tmp
|
||||||
|
let sri = (go run tailscale.com/cmd/nardump@latest --sri $tmp)
|
||||||
|
$sri | save -f go.mod.sri
|
||||||
|
rm -rf $tmp
|
||||||
|
}
|
||||||
|
|
||||||
## Other ##
|
## Other ##
|
||||||
$env.EDITOR = hx
|
$env.EDITOR = hx
|
||||||
$env.config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))
|
$env.config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))
|
||||||
|
|
Loading…
Reference in New Issue