Differ between professional and personal git.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2014-01-17 16:21:29 +01:00
parent e1b325d76a
commit c52287f3fc

View File

@ -302,6 +302,24 @@ function sayit() {
pbpaste | say pbpaste | say
} }
function git-work()
{
if [ -s ~/.gitlocal ]; then
unlink ~/.gitlocal
fi
ln -s ~/.gitlocal_work ~/.gitlocal
}
function git-private()
{
if [ -s ~/.gitlocal ]; then
unlink ~/.gitlocal
fi
ln -s ~/.gitlocal_private ~/.gitlocal
}
# Add special aliases that will copy result to clipboard (escape → escape+) # Add special aliases that will copy result to clipboard (escape → escape+)
for cmd in password hex2hsl hex2rgb escape codepoint ssh-key myip; do for cmd in password hex2hsl hex2rgb escape codepoint ssh-key myip; do
eval "function $cmd+() { $cmd \$@ | c; }" eval "function $cmd+() { $cmd \$@ | c; }"