Add copilot aliases

This commit is contained in:
crater2150 2024-04-29 11:51:54 +02:00
parent f7a90b0364
commit c79950ce02

View file

@ -366,10 +366,18 @@ if [[ $DISPLAY ]] && xinput | grep -q Wacom && xrandr | grep -q eDP1; then
}
fi
# vim: foldmethod=marker
function lastdl() {
echo ~/downloads/*(oc.[1])
}
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"