Fix some issues that showed the todo.txt-cli aliases in the wrong way
parent
94e68b96b5
commit
2581abdf54
|
|
@ -216,7 +216,7 @@ _bash-it-describe ()
|
|||
else
|
||||
enabled=' '
|
||||
fi
|
||||
printf "%-20s%-10s%s\n" "$(basename $f | cut -d'.' -f1)" " [$enabled]" "$(cat $f | metafor about-$file_type)"
|
||||
printf "%-20s%-10s%s\n" "$(basename $f | sed -e 's/\(.*\)\..*\.bash/\1/g')" " [$enabled]" "$(cat $f | metafor about-$file_type)"
|
||||
done
|
||||
printf '\n%s\n' "to enable $preposition $file_type, do:"
|
||||
printf '%s\n' "$ bash-it enable $file_type <$file_type name> [$file_type name]... -or- $ bash-it enable $file_type all"
|
||||
|
|
|
|||
|
|
@ -233,3 +233,8 @@ function local_setup {
|
|||
|
||||
_bash-it-plugins | grep "nvm" | grep "\[x\]"
|
||||
}
|
||||
|
||||
@test "bash-it: describe the todo.txt-cli aliases without enabling them" {
|
||||
run _bash-it-aliases
|
||||
assert_line "todo.txt-cli [ ] todo.txt-cli abbreviations"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue