File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ completion/available/dmidecode.completion.bash
4646completion/available/docker-machine.completion.bash
4747completion/available/docker.completion.bash
4848completion/available/dotnet.completion.bash
49+ completion/available/flutter.completion.bash
4950completion/available/gcloud.completion.bash
5051completion/available/gem.completion.bash
5152completion/available/git.completion.bash
Original file line number Diff line number Diff line change 1- #! /usr/bin/ bash
1+ # shellcheck shell= bash
22
33if _command_exists flutter; then
4- eval " $( flutter bash-completion) "
4+ eval " $( flutter bash-completion) "
55fi
Original file line number Diff line number Diff line change @@ -63,12 +63,15 @@ function dirs-help() {
6363if [[ -f " ${BASH_IT_DIRS_BKS?} " ]]; then
6464 # shellcheck disable=SC1090
6565 source " ${BASH_IT_DIRS_BKS?} "
66- elif [[ -f ~ /.dirs ]]; then
67- mv -vn ~ /.dirs " ${BASH_IT_DIRS_BKS?} "
68- # shellcheck disable=SC1090
69- source " ${BASH_IT_DIRS_BKS?} "
7066else
71- touch " ${BASH_IT_DIRS_BKS?} "
67+ mkdir -p " ${BASH_IT_DIRS_BKS%/* } "
68+ if [[ -f ~ /.dirs ]]; then
69+ mv -vn ~ /.dirs " ${BASH_IT_DIRS_BKS?} "
70+ # shellcheck disable=SC1090
71+ source " ${BASH_IT_DIRS_BKS?} "
72+ else
73+ touch " ${BASH_IT_DIRS_BKS?} "
74+ fi
7275fi
7376
7477alias L=' cat "${BASH_IT_DIRS_BKS?}"'
You can’t perform that action at this time.
0 commit comments