<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class="">I’m using pass on OS X El Capitan (10.11.6), where bash is quite old:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Mac-di-Ale:~ gpz500$ bash --version </span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Copyright (C) 2007 Free Software Foundation, Inc.</span></div></div><div class=""><br class="webkit-block-placeholder"></div><div class="">In such an elderly bash, the builtin command <i class="">compopt</i> is not present. Unfortunately, <i class="">compopt</i> is used in two places in bash completion pass file so, every time I press the <Tab> key, I obtain the following message:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Mac-di-Ale:~ gpz500$ pass -bash: compopt: command not found</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-bash: compopt: command not found</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Logins/ find grep insert rm </span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cp generate help ls show </span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">edit git init mv version </span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">which is very annoying, even if it doesn’t brake the functioning. Well, I’ve modified the bash completion file as in the attached patch which is, </span>in my opinion, quite better (even if, sometimes, I find some extra unwanted space...) and doesn’t break compatibility with bash version >= 4.</div><div class="">What do you think? Could it be pushed?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Alessandro</div><div class=""><br class=""></div><div class=""></div></div></body></html>