Skip to content

Commit

Permalink
refactor: Update Shell-GPT integration for ZSH
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Aug 24, 2024
1 parent 14c1824 commit de5add6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions home/dot_zsh/config.d/sgpt.zsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Shell-GPT integration ZSH v0.2
# Shell-GPT integration for ZSH
_sgpt_zsh() {
if [[ -n "$BUFFER" ]]; then
_sgpt_prev_cmd=$BUFFER
@@ -10,4 +10,3 @@ fi
}
zle -N _sgpt_zsh
bindkey "^p" _sgpt_zsh
# Shell-GPT integration ZSH v0.2

0 comments on commit de5add6

Please sign in to comment.