From 1b333f7c1fc21f90a6972784edd6ac1be07b814f Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 24 Apr 2019 15:26:03 +0200 Subject: Updated files --- bash/.bashrc | 9 +++++++-- git/.gitconfig | 1 + iterm2/.iterm2/com.googlecode.iterm2.plist | 10 +++++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 9d8f705..36d9a13 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -76,6 +76,10 @@ is_alias() { fi } +tunnel() { + ssh -R ${1}:80:127.0.0.1:${2} serveo.net +} + # Set autocomplete for sudo if exists complete && exists sudo; then complete -cf sudo @@ -184,8 +188,9 @@ elif exists screenfetch; then screenfetch fi -if exists brew && [ -f "$(brew --prefix)/etc/bash_completion" ]; then - source "$(brew --prefix)/etc/bash_completion" +BASH_COMPLETION="$(brew --prefix)/etc/bash_completion" +if exists brew && [ -f "${BASH_COMPLETION}" ]; then + source "${BASH_COMPLETION}" fi # heroku autocomplete setup diff --git a/git/.gitconfig b/git/.gitconfig index 43a9922..50cf949 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -10,5 +10,6 @@ serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/ deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f" cm = commit -m + ra = "!f() { read -p \"Author email: \" email; [ -n \"${email}\" ] && git config user.email ${email} && git commit --amend --reset-author; }; f" [push] default = simple diff --git a/iterm2/.iterm2/com.googlecode.iterm2.plist b/iterm2/.iterm2/com.googlecode.iterm2.plist index d0c39a7..2aa42b0 100644 --- a/iterm2/.iterm2/com.googlecode.iterm2.plist +++ b/iterm2/.iterm2/com.googlecode.iterm2.plist @@ -66,13 +66,15 @@ NSWindow Frame NSFontPanel 861 260 445 103 0 0 1920 1057 NSWindow Frame SessionsPreferences - 269 126 606 469 0 0 1920 1057 + 329 133 606 469 0 0 1920 1057 NSWindow Frame SharedPreferences 538 570 796 486 0 0 1920 1057 NSWindow Frame iTerm Window 0 - 0 675 570 377 0 0 1920 1057 + 0 0 1920 1057 0 0 1920 1057 NSWindow Frame iTerm Window 1 - 0 680 570 377 0 0 1920 1057 + -1920 680 570 377 -1920 0 1920 1057 + NSWindow Frame iTerm Window 2 + -1920 0 1920 1057 -1920 0 1920 1057 New Bookmarks @@ -1324,6 +1326,8 @@ NoSyncTimeOfFirstLaunchOfVersionWithTip 552906617.96557903 + PMPrintingExpandedStateForPrint2 + PasteTabToStringTabStopSize 4 PointerActions -- cgit v1.2.3