diff options
| author | 2019-04-24 15:26:03 +0200 | |
|---|---|---|
| committer | 2019-04-24 15:26:03 +0200 | |
| commit | 1b333f7c1fc21f90a6972784edd6ac1be07b814f (patch) | |
| tree | a7f68f71aafa6a224182abc90b13a3da18e057ce | |
| parent | 03710f25a87f7c96342eaf62918d4a9d5f07ef9c (diff) | |
| download | dotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.tar.gz dotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.tar.bz2 dotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.zip | |
Updated files
| -rwxr-xr-x | bash/.bashrc | 9 | ||||
| -rw-r--r-- | git/.gitconfig | 1 | ||||
| -rw-r--r-- | 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() { | |||
| 76 | fi | 76 | fi |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | tunnel() { | ||
| 80 | ssh -R ${1}:80:127.0.0.1:${2} serveo.net | ||
| 81 | } | ||
| 82 | |||
| 79 | # Set autocomplete for sudo | 83 | # Set autocomplete for sudo |
| 80 | if exists complete && exists sudo; then | 84 | if exists complete && exists sudo; then |
| 81 | complete -cf sudo | 85 | complete -cf sudo |
| @@ -184,8 +188,9 @@ elif exists screenfetch; then | |||
| 184 | screenfetch | 188 | screenfetch |
| 185 | fi | 189 | fi |
| 186 | 190 | ||
| 187 | if exists brew && [ -f "$(brew --prefix)/etc/bash_completion" ]; then | 191 | BASH_COMPLETION="$(brew --prefix)/etc/bash_completion" |
| 188 | source "$(brew --prefix)/etc/bash_completion" | 192 | if exists brew && [ -f "${BASH_COMPLETION}" ]; then |
| 193 | source "${BASH_COMPLETION}" | ||
| 189 | fi | 194 | fi |
| 190 | 195 | ||
| 191 | # heroku autocomplete setup | 196 | # 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 @@ | |||
| 10 | serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/ | 10 | serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/ |
| 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 | [push] | 14 | [push] |
| 14 | default = simple | 15 | 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 @@ | |||
| 66 | <key>NSWindow Frame NSFontPanel</key> | 66 | <key>NSWindow Frame NSFontPanel</key> |
| 67 | <string>861 260 445 103 0 0 1920 1057 </string> | 67 | <string>861 260 445 103 0 0 1920 1057 </string> |
| 68 | <key>NSWindow Frame SessionsPreferences</key> | 68 | <key>NSWindow Frame SessionsPreferences</key> |
| 69 | <string>269 126 606 469 0 0 1920 1057 </string> | 69 | <string>329 133 606 469 0 0 1920 1057 </string> |
| 70 | <key>NSWindow Frame SharedPreferences</key> | 70 | <key>NSWindow Frame SharedPreferences</key> |
| 71 | <string>538 570 796 486 0 0 1920 1057 </string> | 71 | <string>538 570 796 486 0 0 1920 1057 </string> |
| 72 | <key>NSWindow Frame iTerm Window 0</key> | 72 | <key>NSWindow Frame iTerm Window 0</key> |
| 73 | <string>0 675 570 377 0 0 1920 1057 </string> | 73 | <string>0 0 1920 1057 0 0 1920 1057 </string> |
| 74 | <key>NSWindow Frame iTerm Window 1</key> | 74 | <key>NSWindow Frame iTerm Window 1</key> |
| 75 | <string>0 680 570 377 0 0 1920 1057 </string> | 75 | <string>-1920 680 570 377 -1920 0 1920 1057 </string> |
| 76 | <key>NSWindow Frame iTerm Window 2</key> | ||
| 77 | <string>-1920 0 1920 1057 -1920 0 1920 1057 </string> | ||
| 76 | <key>New Bookmarks</key> | 78 | <key>New Bookmarks</key> |
| 77 | <array> | 79 | <array> |
| 78 | <dict> | 80 | <dict> |
| @@ -1324,6 +1326,8 @@ | |||
| 1324 | <false/> | 1326 | <false/> |
| 1325 | <key>NoSyncTimeOfFirstLaunchOfVersionWithTip</key> | 1327 | <key>NoSyncTimeOfFirstLaunchOfVersionWithTip</key> |
| 1326 | <real>552906617.96557903</real> | 1328 | <real>552906617.96557903</real> |
| 1329 | <key>PMPrintingExpandedStateForPrint2</key> | ||
| 1330 | <false/> | ||
| 1327 | <key>PasteTabToStringTabStopSize</key> | 1331 | <key>PasteTabToStringTabStopSize</key> |
| 1328 | <integer>4</integer> | 1332 | <integer>4</integer> |
| 1329 | <key>PointerActions</key> | 1333 | <key>PointerActions</key> |
