alias o='rifle'
alias open='xdg-open &>/dev/null'
alias info='info --vi-keys'
-alias dit='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias ag='ag --path-to-ignore=$HOME/.ignore --skip-vcs-ignores'
alias rg='rg --path-separator="//"'
+alias githome='git --git-dir=$HOME/.githome --work-tree=$HOME'
if [ ! -x "$(which tree 2>/dev/null)" ]
then
[ -f /etc/bash_completion ] && . /etc/bash_completion
-# Add tab completion for `dit` by marking it as an alias for `git`
+# Add tab completion for `githome` by marking it as an alias for `git`
_completion_loader git
if type _git &>/dev/null; then
- complete -o "default" -o "nospace" -F _git dit;
+ complete -o "default" -o "nospace" -F _git githome;
fi;
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
+++ /dev/null
-#!/usr/bin/env bash
-
-# Define dit command
-dit ()
-{
- git --git-dir=$HOME/.dit --work-tree=$HOME "$@"
-}
-
-# Perform initial steps
-cd $HOME
-git init --bare $HOME/.dit
-dit config --local status.showUntrackedFiles no
-dit remote add origin git@jaza.me:jaz/dit.git
-dit fetch
-dit reset --hard origin/master
-dit branch -u origin/master
-
--- /dev/null
+#!/usr/bin/env bash
+
+git init --bare $HOME/.githome
+
+# Define githome function
+function githome()
+{
+ git --git-dir=$HOME/.githome --work-tree=$HOME "$@"
+}
+
+# Initial setup
+githome config --local status.showUntrackedFiles no
+githome remote add origin git@jaza.me:jaz/dotfiles.git
+githome fetch
+githome reset --hard origin/master
+githome branch -u origin/master
+