Change various things

This commit is contained in:
crater2150 2024-11-27 12:14:40 +01:00
parent 281ea9f354
commit 8a9503b95a
7 changed files with 21 additions and 8 deletions

View file

@ -1,3 +1,5 @@
if exists /usr/bin/node && exists github-copilot-cli; then
eval "$(github-copilot-cli alias -- "$0")"
elif exists gh && gh extension list | grep copilot -q; then
eval "$(gh copilot alias -- zsh)"
fi

View file

@ -384,3 +384,7 @@ alias Cgit="gh-copilot-cli git"
alias Cgh="gh-copilot-cli gh"
alias e="nvim -c 'lua require(\"telescope.builtin\").fd { cwd = require(\"findroot\")(require(\"telescope.utils\").buffer_dir()) } '"
if [[ -e ${XDG_CONFIG_HOME}/broot/launcher/bash/br ]]; then
source ${XDG_CONFIG_HOME}/broot/launcher/bash/br
fi