fix blueprint.sh
: bash autocompletion not working correctly on -remove
This commit is contained in:
parent
dc6c07df9d
commit
451fe4bf03
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
|
||||||
|
|
||||||
case "${cmd}" in
|
case "${cmd}" in
|
||||||
-install|-add|-i) opts="$(find "$BLUEPRINT__SOURCEFOLDER"/*.blueprint | sed -e "s|^$BLUEPRINT__SOURCEFOLDER/||g" -e "s|.blueprint$||g")" ;;
|
-install|-add|-i) opts="$(find "$BLUEPRINT__SOURCEFOLDER"/*.blueprint | sed -e "s|^$BLUEPRINT__SOURCEFOLDER/||g" -e "s|.blueprint$||g")" ;;
|
||||||
-remove|-r) opts="$(sed "s|,||g" "$BLUEPRINT__SOURCEFOLDER/.blueprint/extensions/blueprint/private/db/installed_extensions")" ;;
|
-remove|-r) opts="$(sed "s|,| |g" "$BLUEPRINT__SOURCEFOLDER/.blueprint/extensions/blueprint/private/db/installed_extensions")" ;;
|
||||||
-export) opts="expose" ;;
|
-export) opts="expose" ;;
|
||||||
-upgrade) opts="remote" ;;
|
-upgrade) opts="remote" ;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue