]> gitweb.michael.orlitzky.com - bash.d.git/commitdiff
Give everything a ".sh" suffix.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 19 May 2020 21:58:40 +0000 (17:58 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 19 May 2020 21:58:40 +0000 (17:58 -0400)
This avoids the need to prepend "#!/bin/sh" to each of the files, and
subsequently "cat" that line into the "all" file.

aliases.sh [moved from aliases with 93% similarity]
compilation.sh [moved from compilation with 98% similarity]
makefile
options.sh [moved from options with 69% similarity]
sage.sh [moved from sage with 85% similarity]

similarity index 93%
rename from aliases
rename to aliases.sh
index 405d02b3dd12cb298be7037e81ae4b888db4f73b..084b2f229855067133e3af8441d827fe172f7171 100644 (file)
--- a/aliases
@@ -1,6 +1,8 @@
-#!/bin/sh
-
+#
+# aliases
+#
 alias df='df --human-readable'
 alias du='du --human-readable --summarize *'
 alias ls='ls -l --color=auto --human-readable --time-style=long-iso'
 alias youtube-dl-mp3='youtube-dl --extract-audio --audio-format=mp3'
+
similarity index 98%
rename from compilation
rename to compilation.sh
index 7b76b34d7e89ad1ddae54a3a0193831349783c4e..7613425faaa77eda89c29d7d845bd5172aecef7f 100644 (file)
@@ -1,4 +1,6 @@
-#!/bin/sh
+#
+# compilation
+#
 
 # Grab CFLAGS, etc. from our profile after first processing its parent
 # profiles recursively
@@ -40,3 +42,4 @@ export LDFLAGS
 # Haskell makefiles so that we don't have to hard-code user preferences
 # (these flags) in the cabal files that *everyone* uses.
 export HCFLAGS
+
index 2456a3d3ff35e13be3dc70660d2ad086cae6e03c..a6cc7d449371fe67c44c23d0a96d27a8d3cc48ff 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-SRCS = aliases compilation options sage
+SRCS = aliases.sh compilation.sh options.sh sage.sh
 
 all: $(SRCS)
        cat $(SRCS) > $@
similarity index 69%
rename from options
rename to options.sh
index a833df743f01ae4ceb7d7ad7ad4102dcfec2b640..4c37c213c704a1f38325948e23c19720e969717e 100644 (file)
--- a/options
@@ -1,4 +1,7 @@
-#!/bin/sh
+#
+# program options
+#
 
 # No stupid disclaimers.
 export WHOIS_OPTIONS="-H"
+
diff --git a/sage b/sage.sh
similarity index 85%
rename from sage
rename to sage.sh
index 3c6eff885251086d0696011872f3ab80ba3b6605..a1731186e7de6610a53efc8cfb54a51068b2c497 100644 (file)
--- a/sage
+++ b/sage.sh
@@ -1,7 +1,10 @@
-#!/bin/sh
+#
+# sage settings
+#
 
 # This is the default, but let's make sure.
 export SAGE_INSTALL_GCC=no
 
 # This is trinary, ha ha!
 export SAGE_DEBUG=no
+