Add #!/bin/bash to library functions
Currently when these files are opened your editor doesn't know what to do with them. Add #!/bin/bash to library functions so that editors, diff-tools, etc can do syntax highlighting. There are other ways to skin this cat, such as renaming to ".sh", adding -* style editor flags, etc. We had this discussion in DevStack too, and came to the conclusion the simplest thing that works for everyone is to just put the #! at the top. Change-Id: I4cf64321e14844696139f5d40e4d719436390b35
This commit is contained in:
parent
6afe6577ac
commit
494a833987
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# vim: syntax=sh ts=4 sts=4 sw=2:et
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
1
lib/die
1
lib/die
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# Copyright (c) 2012 NTT DOCOMO, INC.
|
# Copyright (c) 2012 NTT DOCOMO, INC.
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# Copyright (c) 2012 NTT DOCOMO, INC.
|
# Copyright (c) 2012 NTT DOCOMO, INC.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user