Skip to content

Commit

Permalink
Merge pull request spf13#256 from sttts/sttts-fix-bash-escaping
Browse files Browse the repository at this point in the history
Fix escaping of % in bash code strings
  • Loading branch information
eparis committed Mar 22, 2016
2 parents 966e604 + a23d903 commit c678ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func preamble(out io.Writer, name string) error {
if err != nil {
return err
}
_, err = fmt.Fprintf(out, `
_, err = fmt.Fprint(out, `
__debug()
{
if [[ -n ${BASH_COMP_DEBUG_FILE} ]]; then
Expand Down

0 comments on commit c678ff0

Please sign in to comment.