summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-05 03:14:05 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-03-05 03:14:05 (EST)
commitc583c5817e468befbf64e5f913d66023e02e9147 (patch)
tree78cc074a95f2a67dc919d92b13688b68e31cc5fe
downloadbash-c583c5817e468befbf64e5f913d66023e02e9147.zip
bash-c583c5817e468befbf64e5f913d66023e02e9147.tar.gz
bash-c583c5817e468befbf64e5f913d66023e02e9147.tar.bz2
Initial commit
-rw-r--r--.bash_aliases17
-rwxr-xr-x.gitignore.d/bash15
-rwxr-xr-xibin/io3
3 files changed, 35 insertions, 0 deletions
diff --git a/.bash_aliases b/.bash_aliases
new file mode 100644
index 0000000..6fd4a13
--- /dev/null
+++ b/.bash_aliases
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+alias ls='LC_COLLATE=C ls --color=auto'
+alias lsc='LC_COLLATE=C ls --color=always'
+alias sort='LC_COLLATE=C sort'
+alias less='less -R'
+alias irc='ssh -t odin1.pehjota.net screen -dR irc weechat-curses'
+
+b()
+{
+ "${@}" >/dev/null 2>&1 &
+}
+
+# Add the "interactive bin" directory.
+if [ -d "${HOME}/ibin" ] ; then
+ PATH="${HOME}/ibin:${PATH}"
+fi
diff --git a/.gitignore.d/bash b/.gitignore.d/bash
new file mode 100755
index 0000000..1185e2c
--- /dev/null
+++ b/.gitignore.d/bash
@@ -0,0 +1,15 @@
+# Exclude all files
+*
+
+# Include relevant files
+!/.bash_aliases
+!/ibin/
+!/ibin/*
+!/.gitignore.d/
+!/.gitignore.d/bash
+
+# Exclude swap and backup files
+*.s[a-w]?
+*.vim
+*~
+*.orig
diff --git a/ibin/io b/ibin/io
new file mode 100755
index 0000000..0d239fe
--- /dev/null
+++ b/ibin/io
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec nocache ionice -c 3 "${@}"