aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--bashrc16
-rwxr-xr-xliquidpromptrc2
m---------vim/bundle/vim-nerdtree-tabs0
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
diff --git a/bashrc b/bashrc
index 8198b11..c736b50 100644
--- a/bashrc
+++ b/bashrc
@@ -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
8alias ls='ls --color=auto'
9alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream 2> /dev/null &'
10
8cd() { 11cd() {
9 builtin cd "$@" && ls -A 12 builtin cd "$@" && ls -A
10} 13}
@@ -25,13 +28,16 @@ man() {
25} 28}
26 29
27vim() { 30vim() {
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
31alias ls='ls --color=auto'
32alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream 2> /dev/null &'
33
34
35export PS1='[\d][\t]\u on \h\n\w => ' 41export PS1='[\d][\t]\u on \h\n\w => '
36export GOPATH="$HOME/programming/go" 42export GOPATH="$HOME/programming/go"
37export PATH="$PATH:$GOPATH/bin" 43export 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
113LP_ENABLE_VIRTUALENV=1 113LP_ENABLE_VIRTUALENV=1
114 114
115# Show average system temperature 115# Show average system temperature
116LP_ENABLE_TEMP=1 116LP_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