diff options
| author | 2022-04-19 13:03:31 +0200 | |
|---|---|---|
| committer | 2022-04-19 13:03:31 +0200 | |
| commit | f77a21270bba8153db77d7e12d1959b30a5247af (patch) | |
| tree | 26d8235bf0bf93c4eb27bad90da504464622b492 | |
| parent | 776b394fcb1d82f6d17ed037415dcfab0ea8fad4 (diff) | |
| download | dotfiles-f77a21270bba8153db77d7e12d1959b30a5247af.tar.gz dotfiles-f77a21270bba8153db77d7e12d1959b30a5247af.tar.bz2 dotfiles-f77a21270bba8153db77d7e12d1959b30a5247af.zip | |
updated
| -rwxr-xr-x | bash/.bashrc | 5 | ||||
| -rw-r--r-- | git/.gitconfig | 1 |
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" |
| 284 | fi | 284 | fi |
| 285 | 285 | ||
| 286 | if exists direnv; then | ||
| 287 | eval "$(direnv hook bash)" | ||
| 288 | fi | ||
| 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] |
