dotfiles/.config/scripts/nvim.sh
2025-05-02 06:09:07 -05:00

21 lines
223 B
Bash
Executable file

#!/usr/bin/zsh
source ~/.config/shell/functions.zsh
new() {
set-env
nvim
}
chat() {
set-env
nvim +CodeCompanionChat -c only
}
case "$1" in
new) new $2 ;;
chat) chat ;;
*) echo "Please enter an action" ;;
esac