git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Change permissions on git-completion.bash

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 4, 2018, 20:21 UTC
Message-ID
<877epm205i.fsf@evledraar.gmail.com>
In-Reply-To
<010201629243c44a-4a158009-aa68-4e05-ab54-f15a49ffb606-000000@eu-west-1.amazonses.com>
On Wed, Apr 04 2018, Stephon Harris wrote:
> Updating git-completion.bash to include instructions to change the
> permissions on the file when sourcing it in your .bashrc or .zshrc
> file.

But why is this needed? Files sourced by shells don't need to be executable, and quoting the bash manual "The file searched for in PATH need not be executable.".

What breaks for you / doesn't work because it doesn't have the +x bit?
Previous: Stephon Harris
Message 2 of 2 in “Change permissions on git-completion.bash”
  1. Change permissions on git-completion.bashStephon Harris, Apr 4, 2018
  2. Ævar Arnfjörð BjarmasonApr 4, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.