update
This commit is contained in:
parent
cfb63db1ad
commit
6d25dbec6e
17 changed files with 86 additions and 13 deletions
21
.config/scripts/nvim.sh
Executable file
21
.config/scripts/nvim.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue