ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Add bash autocompletion for ldc2 #68

Closed WebDrake closed 5 years ago

WebDrake commented 5 years ago

This patch takes advantage of snapcraft's support for tab completion via the app completer: field. Unfortunately bash-completion settings are not currently available for the other apps, so cannot be included.

WebDrake commented 5 years ago

I've verified this works locally, although the autocompletion seems slightly idiosyncratic; it may be worth reviewing the settings at some point to ensure they are up to date.