aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbash/.bashrc5
-rw-r--r--git/.gitconfig1
2 files changed, 6 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index e211771..c17a655 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -283,4 +283,9 @@ if [ -s "/usr/local/opt/nvm/nvm.sh" ]; then
283 source "/usr/local/opt/nvm/nvm.sh" 283 source "/usr/local/opt/nvm/nvm.sh"
284fi 284fi
285 285
286if exists direnv; then
287 eval "$(direnv hook bash)"
288fi
289
290
286# vim: set ts=4 sw=4 tw=0 et : 291# vim: set ts=4 sw=4 tw=0 et :
diff --git a/git/.gitconfig b/git/.gitconfig
index 4f97d85..3e3824b 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -11,6 +11,7 @@
11 deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f" 11 deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f"
12 cm = commit -m 12 cm = commit -m
13 ra = "!f() { read -p \"Author email: \" email; [ -n \"${email}\" ] && git config user.email ${email} && git commit --amend --reset-author; }; f" 13 ra = "!f() { read -p \"Author email: \" email; [ -n \"${email}\" ] && git config user.email ${email} && git commit --amend --reset-author; }; f"
14 merge-to = "!f() { git checkout $1; git merge -; git checkout -; }; f"
14[push] 15[push]
15 default = simple 16 default = simple
16[pull] 17[pull]