Skip to content

Commit

Permalink
#121 use #!/usr/bin/env bash for portability across different *nixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Aug 2, 2017
1 parent c06c3b5 commit e6ef4a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/picocli/AutoComplete.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private static <T> List<T> filter(List<T> list, Predicate<T> filter) {
}

private static final String HEADER = "" +
"#!bash\n" +
"#!/usr/bin/env bash\n" +
"#\n" +
"# %1$s Bash Completion\n" +
"# =======================\n" +
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/basic.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bash
#!/usr/bin/env bash
#
# basicExample Bash Completion
# =======================
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/nestedSubcommands.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bash
#!/usr/bin/env bash
#
# hierarchy Bash Completion
# =======================
Expand Down

0 comments on commit e6ef4a6

Please sign in to comment.