Add copilot aliases
This commit is contained in:
parent
f7a90b0364
commit
c79950ce02
|
@ -366,10 +366,18 @@ if [[ $DISPLAY ]] && xinput | grep -q Wacom && xrandr | grep -q eDP1; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# vim: foldmethod=marker
|
|
||||||
|
|
||||||
function lastdl() {
|
function lastdl() {
|
||||||
echo ~/downloads/*(oc.[1])
|
echo ~/downloads/*(oc.[1])
|
||||||
}
|
}
|
||||||
|
|
||||||
alias mpvu="noglob mpv"
|
alias mpvu="noglob mpv"
|
||||||
|
|
||||||
|
# copilot
|
||||||
|
function gh-copilot-cli() {
|
||||||
|
local tpe="$1"; shift
|
||||||
|
gh copilot suggest -t $tpe "$*"
|
||||||
|
}
|
||||||
|
|
||||||
|
alias C="gh-copilot-cli shell"
|
||||||
|
alias Cgit="gh-copilot-cli git"
|
||||||
|
alias Cgh="gh-copilot-cli gh"
|
||||||
|
|
Loading…
Reference in a new issue