Print tmux sess if available & Nim lang configuration.
authorpatrick nsukami <ndkpatt@gmail.com>
Wed, 18 Feb 2015 06:46:32 +0000 (06:46 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Wed, 18 Feb 2015 06:46:32 +0000 (06:46 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 73ade76..f2b0e7b 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -4,8 +4,12 @@
 # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
 # for examples
 
+# vcprompt & other things
 export PATH=$PATH:$HOME/bin
 
+# nim lang
+export PATH=$PATH:$HOME/bin/nim-0.10.2/bin
+
 # If not running interactively, don't do anything
 case $- in
     *i*) ;;
@@ -150,3 +154,6 @@ fi
 # custom filters
 
 [[ -f ~/.bash_filters ]] && . ~/.bash_filters
+
+# print available tmux sessions if available
+tmux list-sessions 2> /dev/null