aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-02-26 13:44:32 +0100
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-02-26 13:44:32 +0100
commitd32d3ed13ed5c6a71c61bb869fe02a34d7fb85ac (patch)
tree3277f15578b8225cb250b256b575d466cdab0363 /bashrc
parent231c602ea2e0633465782a66e789e6abab967522 (diff)
downloaddotfiles-d32d3ed13ed5c6a71c61bb869fe02a34d7fb85ac.tar.gz
dotfiles-d32d3ed13ed5c6a71c61bb869fe02a34d7fb85ac.tar.bz2
dotfiles-d32d3ed13ed5c6a71c61bb869fe02a34d7fb85ac.zip
Added vim-nerdtree-tabs to vim and updated bashrc
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc16
1 files changed, 11 insertions, 5 deletions
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"