Browse Source

feat: add github-copilot-cli to zshrc

master
Ein Verne 1 year ago
parent
commit
66e04d29b6
  1. 1
      .zshrc
  2. 3
      zsh/github-copilot-cli.zsh

1
.zshrc

@ -196,6 +196,7 @@ source $HOME/dotfiles/zsh/keybindings.zsh
source $HOME/dotfiles/zsh/alias.zsh source $HOME/dotfiles/zsh/alias.zsh
source $HOME/dotfiles/zsh/env.zsh source $HOME/dotfiles/zsh/env.zsh
source $HOME/dotfiles/zsh/fzf.zsh source $HOME/dotfiles/zsh/fzf.zsh
source $HOME/dotfiles/zsh/github-copilot-cli.zsh
case `uname` in case `uname` in
Darwin) Darwin)

3
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
Loading…
Cancel
Save