Skip to content

Commit

Permalink
revert(autocomplete): Remove zsh autocomplete for now
Browse files Browse the repository at this point in the history
  • Loading branch information
wdullaer committed Apr 26, 2020
1 parent c798887 commit a4a2bd9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/scotty.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,3 @@ s() {
false
fi
}

_scotty() {
if (( CURRENT = 2 )); then
# Save the currently typed pattern
local pattern=${words[2]}
results=($(_call_program entries scotty search -a ${pattern}))
_describe -t scotty-search 'Index entries' results
fi
}

compdef _scotty s

0 comments on commit a4a2bd9

Please sign in to comment.