Permalink
Browse files

Merge pull request #57 from daotoad/master

Added delete to completion.
  • Loading branch information...
daotoad committed Sep 11, 2017
2 parents a56081c + d554f1e commit 2c531d9169004f976445feca0a323717a839d0d8
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/core/completion
View
@@ -29,7 +29,7 @@ function _smartcd_completion() {
local words
if [[ $COMP_CWORD == 1 ]]; then
words="cd pushd popd setup config template edit show filename export import reenter inform helper on-prompt"
words="cd pushd popd setup config template edit delete show filename export import reenter inform helper on-prompt"
else
case "${COMP_WORDS[1]}" in
setup) case $COMP_CWORD in
@@ -44,7 +44,7 @@ function _smartcd_completion() {
;;
esac
;;
append|edit|show|filename) case $COMP_CWORD in
append|edit|show|delete|filename) case $COMP_CWORD in
2) words="enter leave --system --host --global";;
3) case $prev in
--system) words="enter leave --host --global";;

0 comments on commit 2c531d9

Please sign in to comment.