]> gitweb.michael.orlitzky.com - bash.d.git/commitdiff
Initial commit.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Aug 2013 13:14:24 +0000 (09:14 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Aug 2013 13:14:24 +0000 (09:14 -0400)
aliases [new file with mode: 0644]
all [new file with mode: 0644]
compilation [new file with mode: 0644]
options [new file with mode: 0644]
sage [new file with mode: 0644]

diff --git a/aliases b/aliases
new file mode 100644 (file)
index 0000000..76ecd64
--- /dev/null
+++ b/aliases
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+alias df='df -h'
+alias du='du -h -s *'
+alias ls='ls -l -h --color=always --time-style=long-iso'
diff --git a/all b/all
new file mode 100644 (file)
index 0000000..d9b5df0
--- /dev/null
+++ b/all
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+me="${BASH_SOURCE[0]}"
+mydir=`dirname "${me}"`
+
+for script in "${mydir}"/*; do
+    [ "${script}" == "$me" ] && continue
+
+    source "${script}"
+done
diff --git a/compilation b/compilation
new file mode 100644 (file)
index 0000000..b13a391
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Grab CFLAGS, etc. from make.conf.
+source /etc/portage/make.conf
+
+# LDFLAGS comes from.. somewhere else.
+LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+
+# Portage does this for us.
+MAKE="make ${MAKEOPTS}"
diff --git a/options b/options
new file mode 100644 (file)
index 0000000..e353b0b
--- /dev/null
+++ b/options
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# This works for all versions of grep.
+GREP_OPTIONS="--color=always"
+
+# No stupid disclaimers.
+WHOIS_OPTIONS="-H"
diff --git a/sage b/sage
new file mode 100644 (file)
index 0000000..f74ea1d
--- /dev/null
+++ b/sage
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# This is the default, but let's make sure.
+SAGE_INSTALL_GCC=no