From e0507c5b5f9b7cab544523a05ab7ae94ec2cfcb8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 19 May 2020 17:58:40 -0400 Subject: [PATCH] Give everything a ".sh" suffix. This avoids the need to prepend "#!/bin/sh" to each of the files, and subsequently "cat" that line into the "all" file. --- aliases => aliases.sh | 6 ++++-- compilation => compilation.sh | 5 ++++- makefile | 2 +- options => options.sh | 5 ++++- sage => sage.sh | 5 ++++- 5 files changed, 17 insertions(+), 6 deletions(-) rename aliases => aliases.sh (93%) rename compilation => compilation.sh (98%) rename options => options.sh (69%) rename sage => sage.sh (85%) diff --git a/aliases b/aliases.sh similarity index 93% rename from aliases rename to aliases.sh index 405d02b..084b2f2 100644 --- a/aliases +++ b/aliases.sh @@ -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' + diff --git a/compilation b/compilation.sh similarity index 98% rename from compilation rename to compilation.sh index 7b76b34..7613425 100644 --- a/compilation +++ b/compilation.sh @@ -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 + diff --git a/makefile b/makefile index 2456a3d..a6cc7d4 100644 --- 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) > $@ diff --git a/options b/options.sh similarity index 69% rename from options rename to options.sh index a833df7..4c37c21 100644 --- a/options +++ b/options.sh @@ -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 3c6eff8..a173118 100644 --- 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 + -- 2.44.2