Commits

yagnesh raghava yakkala committed e40b151

* ctags: new
indentation

Comments (0)

Files changed (10)

 ! gentoo has a bug so that it doesnt read it when X starts, so add above
 ! command to /etc/xfce4/xinitrc (top) and be happy.
 
-!xterm*background:	Black
-!xterm*foreground:	Grey
-xterm*font:		-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
-!xterm*font:		-misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
+!xterm*background:  Black
+!xterm*foreground:  Grey
+xterm*font:     -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
+!xterm*font:        -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
 !xterm*iconPixmap: ...
 !xterm*iconPixmap:       /usr/share/pixmaps/gnome-gemvt.xbm
 !xterm*iconMask:         /usr/share/pixmaps/gnome-gemvt-mask.xbm
 XTerm*colorUL: yellow
 XTerm*colorBD: white
 !XTerm*mainMenu*backgroundPixmap:     gradient:vertical?dimension=400&start=gray10&end=gray40
-!XTerm*mainMenu*foreground:          white 
+!XTerm*mainMenu*foreground:          white
 !XTerm*vtMenu*backgroundPixmap:       gradient:vertical?dimension=550&start=gray10&end=gray40
 !XTerm*vtMenu*foreground:             white
 !XTerm*fontMenu*backgroundPixmap:     gradient:vertical?dimension=300&start=gray10&end=gray40
 
 alias L='cat ~/.dirs'
 
-G () {				# goes to distination dir otherwise , stay in the dir
+G () {              # goes to distination dir otherwise , stay in the dir
     cd ${1:-$(pwd)} ;
 }
 
-S () {				# SAVE a BOOKMARK
+S () {              # SAVE a BOOKMARK
     sed "/$@/d" ~/.dirs > ~/.dirs1;
     \mv ~/.dirs1 ~/.dirs;
     echo "$@"=\"`pwd`\" >> ~/.dirs;
     source ~/.dirs ;
 }
 
-R () {				# remove a BOOKMARK
+R () {              # remove a BOOKMARK
     sed "/$@/d" ~/.dirs > ~/.dirs1;
     \mv ~/.dirs1 ~/.dirs;
 }
 
-alias U='source ~/.dirs' 	# Update BOOKMARK stack
+alias U='source ~/.dirs'    # Update BOOKMARK stack
 # set the bash option so that no '$' is required when using the above facility
 shopt -s cdable_vars
 
     . ~/.bash_custom
 fi
 
-# enable programmable completion features 
+# enable programmable completion features
 if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
     . /etc/bash_completion  > /dev/null
 fi
 
-#perlbrew 
+#perlbrew
 if [ -f ~/perl5/perlbrew/etc/bashrc  ]; then
     . ~/perl5/perlbrew/etc/bashrc
 fi
 force_color_prompt=yes
 if [ -n "$force_color_prompt" ]; then
     if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
-	# We have color support; assume it's compliant with Ecma-48
-	# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
-	# a case would tend to support setf rather than setaf.)
-	color_prompt=yes
+    # We have color support; assume it's compliant with Ecma-48
+    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
+    # a case would tend to support setf rather than setaf.)
+        color_prompt=yes
     else
-	color_prompt=
+        color_prompt=
     fi
 fi
 
 
 # If this is an xterm set the title to user@host:dir
 case "$TERM" in
-xterm*|rxvt*)
-	PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
-    ;;
-*)
-    ;;
+    xterm*|rxvt*)
+        PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
+        ;;
+    *)
+        ;;
 esac
 
-#ADDING ENV VARS 
+#ADDING ENV VARS
 # ---------------------
 
 export PATH=$PATH:/bin:/usr/bin
 }
 
 psgrep() {
-	if [ ! -z $1 ] ; then
-		echo "Grepping for processes matching $1..."
-		ps aux | grep $1 | grep -v grep
-	else
-		echo "!! Need name to grep for"
-	fi
+    if [ ! -z $1 ] ; then
+        echo "Grepping for processes matching $1..."
+        ps aux | grep $1 | grep -v grep
+    else
+        echo "!! Need name to grep for"
+    fi
 }
 
 grab() {
-	sudo chown -R ${USER} ${1:-.}
+    sudo chown -R ${USER} ${1:-.}
 }
 
-# clock - A bash clock that can run in your terminal window. 
-clock () 
-{ 
-while true;do clear;echo "===========";date +"%r";echo "===========";sleep 1;done 
+# clock - A bash clock that can run in your terminal window.
+clock ()
+{
+    while true;do clear;echo "===========";date +"%r";echo "===========";sleep 1;done
 }
 
 #-------------------------------------------------------------
 fi
 
 
- 
+
 #+END
-# -*- mode: conf; -*-
+# -*- mode: crontab; -*-
 #+DEST=$HOME/
 #+FNAME=.crontab
 
 # Edit this file to introduce tasks to be run by cron.
-# 
+#
 # Each task to run has to be defined through a single line
 # indicating with different fields when the task will be run
 # and what command to run for the task
-# 
+#
 # To define the time you can provide concrete values for
 # minute (m), hour (h), day of month (dom), month (mon),
-# and day of week (dow) or use '*' in these fields (for 'any').# 
+# and day of week (dow) or use '*' in these fields (for 'any').#
 # Notice that tasks will be started based on the cron's system
 # daemon's notion of time and timezones.
-# 
+#
 # Output of the crontab jobs (including errors) is sent through
 # email to the user the crontab file belongs to (unless redirected).
-# 
+#
 # For example, you can run a backup of all your user accounts
 # at 5 a.m every week with:
 # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
-# 
+#
 # For more information see the manual pages of crontab(5) and cron(8)
-# 
+#
 # m h  dom mon dow   command
 
 # min   hour    day     month   day-of-week command
 
 
 # Local Variables:
-# mode: crontab
 # crontab-host: localhost
 # crontab-apply-after-save: nil
 # End:
+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.ctags
+
+--langdef=ncl
+--langmap=ncl:.ncl
+--regex-swine=/^[ \t]?*[function|procedure]*([a-zA-Z0-9_]+)/\1/d,definition/
 ! -*- mode: ncl -*-
-!+DEST=$HOME/
-!+FNAME=.hluresfile
-!=========================================
-! This is a sample .hluresfile. It should
-! go in your home directory.
-!
-! Comments for ".res" files are preceded by a "!".
-! Remember quotations are not used in .res files.
+  !+DEST=$HOME/
+  !+FNAME=.hluresfile
+  !=========================================
+  ! This is a sample .hluresfile. It should
+  ! go in your home directory.
+  !
+  ! Comments for ".res" files are preceded by a "!".
+  ! Remember quotations are not used in .res files.
 
-! White background/black foreground
-*wkColorMap : BlAqGrYeOrReVi200
-*wkForegroundColor  : (/0.,0.,0./)
-*wkBackgroundColor  : (/1.,1.,1./)
-; *wkBackgroundColor : white 
-; *wkForegroundColor : black 
-*FuncCode : ~ 
-*TextFuncCode : ~ 
-*Font : helvetica 
+  ! White background/black foreground
+  *wkColorMap : BlAqGrYeOrReVi200
+  *wkForegroundColor  : (/0.,0.,0./)
+  *wkBackgroundColor  : (/1.,1.,1./)
+; *wkBackgroundColor : white
+; *wkForegroundColor : black
+  *FuncCode : ~
+  *TextFuncCode : ~
+  *Font : helvetica
 
-! Have a favorite colormap that you use for everything? You can
-! make it your default here (note the name is NOT in quotes).
-!
-! For all available color maps, see 
-! http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml
-! *wkColorMap         : rainbow+gray
+  ! Have a favorite colormap that you use for everything? You can
+  ! make it your default here (note the name is NOT in quotes).
+  !
+  ! For all available color maps, see
+  ! http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml
+  ! *wkColorMap         : rainbow+gray
 
-! Font
-*Font           : helvetica 
+  ! Font
+  *Font           : helvetica
 
-! Function Codes [Default is a colon]
-*TextFuncCode               : ~     
- 
-! Make default X11 window larger (adjust as necessary)
-*wkWidth                     : 800
-*wkHeight                    : 800
-; *wkWidth : 900 
+  ! Function Codes [Default is a colon]
+  *TextFuncCode               : ~
+
+  ! Make default X11 window larger (adjust as necessary)
+  *wkWidth                     : 800
+  *wkHeight                    : 800
+; *wkWidth : 900
 ; *wkHeight : 900
 
-! Increase the default (16mb) contour memory
-! For example, if you have gridded data that
-! is larger than 500 x 500, you may need this.
-*wsMaximumSize: 32556688
-!==========================================
+  ! Increase the default (16mb) contour memory
+  ! For example, if you have gridded data that
+  ! is larger than 500 x 500, you may need this.
+  *wsMaximumSize: 32556688
+  !==========================================
 
-!sources:
-!http://www.ncl.ucar.edu/Document/Graphics/hluresfile
+  !sources:
+  !http://www.ncl.ucar.edu/Document/Graphics/hluresfile
 
   next if ( "$this_script" eq $x ); #skip the current script
   next if ($x ~~ @excludes);        #skip those are in excludes
-  next if ( $x =~ /.back$/ );	    # skip if it is backed up file
+  next if ( $x =~ /.back$/ );       # skip if it is backed up file
   my ($dest_dir , $copy_as ) = get_file_details($x);
   $dest_dir =~ s/\$HOME/$Home/;
   my $copy_as_in = "$dest_dir"."$copy_as"; # concat the destnation dir and file
 if [ -n "$BASH_VERSION" ]; then
     # include .bashrc if it exists
     if [ -f "$HOME/.bashrc" ]; then
-	. "$HOME/.bashrc"
+        . "$HOME/.bashrc"
     else # if not look for atleat bin
     # set PATH so it includes user's private bin if it exists
-	if [ -d "$HOME/bin" ] ; then
-	    PATH="$HOME/bin:$PATH"
-	fi
+        if [ -d "$HOME/bin" ] ; then
+            PATH="$HOME/bin:$PATH"
+        fi
     fi
 fi
 #+DEST=$HOME/
 #+FNAME=.screenrc
 
-# Set the default window name to 
+# Set the default window name to
 shelltitle "$ |bash"
 startup_message off
 
 # tell screen how to set colors. AB = background, AF=foreground
 termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
 # erase background with current bg color
-defbce "on" 
+defbce "on"
 
 # Some decryption hints:
 # %{= KW}     background light black (aka dark gray) with foreground light white
 
 screen -t emacs emacs
 screen -t work 1
-screen -t lab/lpy 2 
-screen -t git 3 
-screen -t site 4 
+screen -t lab/lpy 2
+screen -t git 3
+screen -t site 4
 screen -t misc 5
 ## avoid having to type many many command-line options. This file does
 ## not contain a comprehensive list of commands -- look at the manual
 ## to find out what you can put into this file.
-## 
+##
 ## Wget initialization file can reside in /usr/local/etc/wgetrc
 ## (global, for all users) or $HOME/.wgetrc (for a single user).
 ##