diff options
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | bashrc | 16 | ||||
| -rwxr-xr-x | liquidpromptrc | 2 | ||||
| m--------- | vim/bundle/vim-nerdtree-tabs | 0 |
4 files changed, 15 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules index 60a1468..d254dd7 100644 --- a/.gitmodules +++ b/.gitmodules | |||
| @@ -16,3 +16,6 @@ | |||
| 16 | [submodule "vim/bundle/vim-fugitive"] | 16 | [submodule "vim/bundle/vim-fugitive"] |
| 17 | path = vim/bundle/vim-fugitive | 17 | path = vim/bundle/vim-fugitive |
| 18 | url = https://github.com/tpope/vim-fugitive.git | 18 | url = https://github.com/tpope/vim-fugitive.git |
| 19 | [submodule "vim/bundle/vim-nerdtree-tabs"] | ||
| 20 | path = vim/bundle/vim-nerdtree-tabs | ||
| 21 | url = https://github.com/jistr/vim-nerdtree-tabs.git | ||
| @@ -5,6 +5,9 @@ | |||
| 5 | # If not running interactively, don't do anything | 5 | # If not running interactively, don't do anything |
| 6 | [[ $- != *i* ]] && return | 6 | [[ $- != *i* ]] && return |
| 7 | 7 | ||
| 8 | alias ls='ls --color=auto' | ||
| 9 | alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream 2> /dev/null &' | ||
| 10 | |||
| 8 | cd() { | 11 | cd() { |
| 9 | builtin cd "$@" && ls -A | 12 | builtin cd "$@" && ls -A |
| 10 | } | 13 | } |
| @@ -25,13 +28,16 @@ man() { | |||
| 25 | } | 28 | } |
| 26 | 29 | ||
| 27 | vim() { | 30 | vim() { |
| 28 | (cd $@ && /usr/bin/vim) || /usr/bin/vim $@ | 31 | if [[ -z $@ ]]; then |
| 32 | /usr/bin/vim | ||
| 33 | elif [[ -d $@ ]]; then | ||
| 34 | dir=$(pwd) | ||
| 35 | cd $@ && /usr/bin/vim && cd $dir | ||
| 36 | else | ||
| 37 | /usr/bin/vim $@ | ||
| 38 | fi | ||
| 29 | } | 39 | } |
| 30 | 40 | ||
| 31 | alias ls='ls --color=auto' | ||
| 32 | alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream 2> /dev/null &' | ||
| 33 | |||
| 34 | |||
| 35 | export PS1='[\d][\t]\u on \h\n\w => ' | 41 | export PS1='[\d][\t]\u on \h\n\w => ' |
| 36 | export GOPATH="$HOME/programming/go" | 42 | export GOPATH="$HOME/programming/go" |
| 37 | export PATH="$PATH:$GOPATH/bin" | 43 | export PATH="$PATH:$GOPATH/bin" |
diff --git a/liquidpromptrc b/liquidpromptrc index 1cb350c..57414d5 100755 --- a/liquidpromptrc +++ b/liquidpromptrc | |||
| @@ -113,7 +113,7 @@ LP_RUNTIME_THRESHOLD=2 | |||
| 113 | LP_ENABLE_VIRTUALENV=1 | 113 | LP_ENABLE_VIRTUALENV=1 |
| 114 | 114 | ||
| 115 | # Show average system temperature | 115 | # Show average system temperature |
| 116 | LP_ENABLE_TEMP=1 | 116 | LP_ENABLE_TEMP=0 |
| 117 | 117 | ||
| 118 | # When showing time, use an analog clock instead of numeric values. | 118 | # When showing time, use an analog clock instead of numeric values. |
| 119 | # The analog clock is "accurate" to the nearest half hour. | 119 | # The analog clock is "accurate" to the nearest half hour. |
diff --git a/vim/bundle/vim-nerdtree-tabs b/vim/bundle/vim-nerdtree-tabs new file mode 160000 | |||
| Subproject 0decec122e9bb3e9328b01fa20a9650e79cc6ca | |||
