diff options
-rw-r--r-- | .bash_aliases | 17 | ||||
-rwxr-xr-x | .gitignore.d/bash | 15 | ||||
-rwxr-xr-x | ibin/io | 3 |
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 @@ -0,0 +1,3 @@ +#!/bin/sh + +exec nocache ionice -c 3 "${@}" |