diff --git a/.zshrc b/.zshrc index 8b14dc7..e474dfd 100644 --- a/.zshrc +++ b/.zshrc @@ -196,6 +196,7 @@ source $HOME/dotfiles/zsh/keybindings.zsh source $HOME/dotfiles/zsh/alias.zsh source $HOME/dotfiles/zsh/env.zsh source $HOME/dotfiles/zsh/fzf.zsh +source $HOME/dotfiles/zsh/github-copilot-cli.zsh case `uname` in Darwin) diff --git a/zsh/github-copilot-cli.zsh b/zsh/github-copilot-cli.zsh new file mode 100644 index 0000000..5c2d796 --- /dev/null +++ b/zsh/github-copilot-cli.zsh @@ -0,0 +1,3 @@ +if command -v 1github-copilot-cli > /dev/null 2>&1; then + eval "$(github-copilot-cli alias -- "$0")" +fi