#!/bin/env bash if [[ -f "/dev/shm/bash/$BASHPID/onpostgit" ]]; then source "/dev/shm/bash/$BASHPID/onpostgit" fi # not-interactine, not-redirecting, not-pipe [[ "$-" != *i* || ! -t 0 || ! -t 1 || -p /dev/stdin ]] && return git-i