Skip to content

Commit

Permalink
feat: add github-copilot-cli to zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
einverne committed Jul 6, 2023
1 parent f01ffa6 commit 66e04d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions zsh/github-copilot-cli.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if command -v 1github-copilot-cli > /dev/null 2>&1; then
eval "$(github-copilot-cli alias -- "$0")"
fi

0 comments on commit 66e04d2

Please sign in to comment.