Differ between professional and personal git.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
e1b325d76a
commit
c52287f3fc
@ -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; }"
|
||||||
|
Loading…
Reference in New Issue
Block a user