unexist.dev

Changeset 368:7477775a1bc4

Updated configs
author unexist
date Fri, 05 Aug 2011 21:40:27 +0200
parents 26e76683750f
children 8d07d1399494
files .fakexinerama .hgrc .irbrc .mplayer/config .ncmpcpp/config .rtorrent.rc .ssh/authorized_keys .suppressions .urxvt/mark-yank-urls .vim/colors/xoria256.vim .vim/snippets/ruby.snippets .zshrc
diffstat 12 files changed, 289 insertions(+), 251 deletions(-) [+]
line wrap: on
line diff
--- a/.fakexinerama	Fri Aug 05 21:40:00 2011 +0200
+++ b/.fakexinerama	Fri Aug 05 21:40:27 2011 +0200
@@ -1,5 +1,5 @@
-4
-0 0 400 400
+2
+0 0 320 480
+320 0 320 480
 400 0 400 400
-0 400 400 400
 400 400 400 400
--- a/.hgrc	Fri Aug 05 21:40:00 2011 +0200
+++ b/.hgrc	Fri Aug 05 21:40:27 2011 +0200
@@ -3,10 +3,14 @@
 username = unexist
 
 [extensions]
-hgext.keyword  =
-hgext.record   =
-hgext.graphlog =
-hgext.color    =
+hgext.keyword    =
+hgext.record     =
+hgext.graphlog   =
+hgext.color      =
+hgext.transplant =
+hggit            = /home/unexist/.hgext/hggit/hggit
+hgcrecord        = /home/unexist/.hgext/crecord/crecord
+histedit         = /home/unexist/.hgext/histedit/hg_histedit.py
 
 [keyword]
 **.* =
--- a/.irbrc	Fri Aug 05 21:40:00 2011 +0200
+++ b/.irbrc	Fri Aug 05 21:40:27 2011 +0200
@@ -2,7 +2,7 @@
 #
 # @file Irb config
 #
-# @copyright (c) 2010, Christoph Kappel <unexist@dorfelite.net>
+# @copyright (c) 2010-2011, Christoph Kappel <unexist@dorfelite.net>
 # @version $Id$
 #
 
--- a/.mplayer/config	Fri Aug 05 21:40:00 2011 +0200
+++ b/.mplayer/config	Fri Aug 05 21:40:27 2011 +0200
@@ -8,3 +8,4 @@
 msgcolor=1
 msgmodule=1
 ass=1
+sub-paths=subs,Subs,sub
--- a/.ncmpcpp/config	Fri Aug 05 21:40:00 2011 +0200
+++ b/.ncmpcpp/config	Fri Aug 05 21:40:27 2011 +0200
@@ -13,7 +13,7 @@
 
 # Format
 #song_columns_list_format = "(6)[blue]{l} (30)[green]{t} (30)[magenta]{a} (10)[blue]{b}{%N}"
-song_list_format = "$5{%n}|{00}$9 $2·$9 $2{%A}|{%a}$9 $2·$9 $3{%t}|{%f}$9 {$2($9$5%l$2)$9} {$R $4%b$9}"
+song_list_format = "$8{%l}|{0:00}$9 $8·$9 $5{%A}|{%a}$9 $8·$9 $6{%t}|{%f}$9 {$R $1%b$9}"
 song_status_format = "$2{%A}|{%a}$9 $3\"{%t}|{%f}\"$9 {$4%b$9}"
 #song_library_format = "{%n - }{%t}|{%f}"
 #tag_editor_album_format = "{(%y) }%b"
@@ -24,7 +24,7 @@
 user_interface = "classic" (classic/alternative)
 display_screens_numbers_on_start = "no"
 header_visibility = "no"
-statusbar_visibility = "yes"
+statusbar_visibility = "no"
 colors_enabled = "yes"
 autocenter_mode    = "yes"
 centered_cursor    = "yes"
@@ -35,7 +35,7 @@
 playlist_disable_highlight_delay = "1"
 
 # Bars
-progressbar_look = "■▶·"
+progressbar_look = "—■ "
 titles_visibility = "no"
 
 # Colors
@@ -43,14 +43,14 @@
 color2 = "green"
 main_window_color = "white"
 main_window_highlight_color = "default"
-progressbar_color = "black"
-statusbar_color = "black"
+progressbar_color = "white"
+statusbar_color = "white"
 alternative_ui_separator_color = "black"
 active_column_color = "red"
 window_border_color = "green"
 active_window_border = "red"
 empty_tag_color = "cyan"
 header_window_color = "gray"
-volume_color = "default"
-state_line_color = "default"
-state_flags_color = "default"
+volume_color = "white"
+state_line_color = "white"
+state_flags_color = "white"
--- a/.rtorrent.rc	Fri Aug 05 21:40:00 2011 +0200
+++ b/.rtorrent.rc	Fri Aug 05 21:40:27 2011 +0200
@@ -3,4 +3,5 @@
 upload_rate = 5
 directory = /home/unexist/downloads/torrent
 session = /home/unexist/downloads/torrent/session
+scgi_port = localhost:5000
 schedule = watch_directory,10,10,load_start=/home/unexist/downloads/torrent/*.torrent
--- a/.ssh/authorized_keys	Fri Aug 05 21:40:00 2011 +0200
+++ b/.ssh/authorized_keys	Fri Aug 05 21:40:27 2011 +0200
@@ -1,1 +1,2 @@
 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3er/+UyAcmpxm1BpvZ/SkPgDMTNfStnOQ7eI/Zjf6DDxol8np9v/tSkdIBKyydMfQvAMYUeU18C/JqCZkevi5vaZ9PPvyjI3lMB3aywMxjI2tueRSrQkFeBYNtRKSpKe/aeLKDEbqpkcoew6YKhpk9B6fbNdv7TsKJCrgaahG4099BFKEK09GqimgvTkpYzvDsa5E1k/dsYDt0aGEkywfpWHE+hsRY1NyoUyJ3gX4YUab5cGDYAW/RrN4Hglmesg/1AJ9dR5rtjDTKI5EhgaZi3CoXO7bEiHWvx4i6JHw4eXqLIO5QWvVFVJ2eTpcxvPIRloGT13YWCbr73mHdZPyw== unexist@aral
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfVMWM1+MDT8qDeL7zVXFoRB7H4Kq6hKDZUvvnye2KWO2pD+M8y50ROO3RglnhVyaTQmvWxFDaz3vDQtFVAsq7BR44/UsYldRW8SlMkpTtr0TzfSHw7OjH//UjsWXaR3z7eErl6Yhw8EucjHQg4j+oATLcKva/x+EmxFsbYtJhrMzZTlFG3fkv/IZlkKG4zJhgFBs/DF3ra/Eb2Q3DLBs1Nqh01PvYt9vDedmm+ep4aphN3ZsMcBFuKsQVjzJfDRwNSFhNkzYZfk3jB2z1dQtpS/yvB0EiG4UoBzhN+o7B3FKIgyOC7G+4rV0a0ak3MhdkFa6Ilh2hb/IiN5JgXp2d unexist
--- a/.suppressions	Fri Aug 05 21:40:00 2011 +0200
+++ b/.suppressions	Fri Aug 05 21:40:27 2011 +0200
@@ -216,3 +216,10 @@
    fun:rb_thread_create_timer_thread
    ...
 }
+{
+   FC
+   Memcheck:Leak
+   fun:malloc
+   fun:FcPatternObjectInsertElt
+   ...
+}
--- a/.urxvt/mark-yank-urls	Fri Aug 05 21:40:00 2011 +0200
+++ b/.urxvt/mark-yank-urls	Fri Aug 05 21:40:27 2011 +0200
@@ -1,296 +1,315 @@
 #! perl
 
-# ----------------------------------------
-
 # same url as used in "selection"
 my $url_matcher =
-   qr{(
-      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+
-      [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
-   )}x;
+  qr{(
+    (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+
+    [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
+  )}x;
 
-sub on_start {
-    my ($term) = @_;
+my $mark_mode_active = 0;
+my %mod = ('control' => 0, 'shift' => 0);
+my $url_selected = -1;
+my @url_db = ();
 
-    $term->{have_Clipboard} = eval { require Clipboard; };
-    if ($term->{have_Clipboard}) {
-        import Clipboard;
+sub on_start # {{{
+{
+  my ($term) = @_;
+
+  $term->{have_Clipboard} = eval { require Clipboard; };
+  if($term->{have_Clipboard})
+    {
+      import Clipboard;
     }
 
-    $term->{browser} = $term->x_resource ("urlLauncher") || "x-www-browser";
+  $term->{browser} = $term->x_resource ("urlLauncher") || "x-www-browser";
 
-    ()
-}
+  ()
+} # }}}
 
-sub on_line_update {
-    my ($term, $row) = @_;
+sub on_line_update # {{{
+{
+  my ($term, $row) = @_;
 
-    # fetch the line that has changed
-    my $line = $term->line ($row);
-    my $text = $line->t;
+  # fetch the line that has changed
+  my $line = $term->line ($row);
+  my $text = $line->t;
 
-    # find all urls (if any)
-    while ($text =~ /$url_matcher/g) {
-        my $rend = $line->r;
+  # find all urls (if any)
+  while ($text =~ /$url_matcher/g)
+    {
+      my $rend = $line->r;
 
-        # mark all characters as underlined. we _must_ not toggle underline,
-        # as we might get called on an already-marked url.
-        if ($term->x_resource ("underlineURLs") eq "true") {
-            $_ |= urxvt::RS_Uline
-            for @{$rend}[ $-[1] .. $+[1] - 1];
+      # mark all characters as underlined. we _must_ not toggle underline,
+      # as we might get called on an already-marked url.
+      if($term->x_resource ("underlineURLs") eq "true")
+        {
+          $_ |= urxvt::RS_Uline
+          for @{$rend}[ $-[1] .. $+[1] - 1];
 
-            $line->r ($rend);
-        }
+          $line->r ($rend);
+       }
     }
 
-    ()
-}
+  ()
+} # }}}
 
-sub on_button_release {
-    my ($term, $event) = @_;
+sub on_button_release # {{{
+{
+  my ($term, $event) = @_;
 
-    my $mask = $term->ModLevel3Mask | $term->ModMetaMask
-    | urxvt::ShiftMask | urxvt::ControlMask;
+  my $mask = $term->ModLevel3Mask|$term->ModMetaMask|
+    urxvt::ShiftMask|urxvt::ControlMask;
 
-    if ($event->{button} == 2 && ($event->{state} & $mask) == 0) {
-        my $row = $event->{row};
-        my $col = $event->{col};
+  if($event->{button} == 2 && ($event->{state} & $mask) == 0)
+    {
+      my $row = $event->{row};
+      my $col = $event->{col};
+
+      my $line = $term->line ($row);
+      my $text = $line->t;
 
-        my $line = $term->line ($row);
-        my $text = $line->t;
+      while ($text =~ /$url_matcher/g)
+        {
+          if($-[1] <= $col && $+[1] >= $col)
+            {
+              # Switch to browser
+              $term->exec_async("subtler -cf", $term->{browser});
 
-        while ($text =~ /$url_matcher/g) {
-            if ($-[1] <= $col && $+[1] >= $col) {
-                if("opera" == $term->{browser})
-                  {
-                    $term->exec_async($term->{browser} . ' -remote openURL(' . $1 . ', new-page)');
-                  }
-                else
-                  {
-                    $term->exec_async($term->{browser}, $1);
-                  }
+              if("opera" == $term->{browser})
+                {
+                  $term->exec_async($term->{browser} . ' -remote openURL(' . $1 . ', new-page)');
+                }
+              else
+                {
+                  $term->exec_async($term->{browser}, $1);
+                }
 
-                return 1;
+              return 1;
             }
         }
     }
 
-    ()
-}
+   ()
+} # }}}
 
-#sub on_scroll_back {
-#    my ($term, $lines, $saved) = @_;
-#
-#    if ($lines > $url_selected && $url_selected>0) {
-#        move_highlight ($term, 1);
-#    }
-#
-#    for (my $n=0; $n<$lines; $n++) {
-#        shift @url_db 
-#    }
-#
-#    ()
-#}
+sub do_scan_for_urls # {{{
+{
+  my ($term) = @_;
 
-# ----------------------------------------
+  @url_db = ();
 
-my $mark_mode_active = 0;
-my %mod = ( 'control' => 0, 'shift' => 0 );
-my $url_selected = -1;
-my @url_db = ();
+  my $row_start = $term->top_row;
+  my $row_end = $term->nrow;
 
-# ----------------------------------------
-
-sub do_scan_for_urls {
-    my ($term) = @_;
-
-    @url_db = ();
-
-    my $row_start = $term->top_row;
-    my $row_end = $term->nrow;
-
-    for (my $row=$row_start; $row<=$row_end; $row++) {
+  for(my $row=$row_start; $row<=$row_end; $row++)
+    {
+      # fetch the line that has changed
+      my $line = $term->line ($row);
+      my $text = $line->t;
 
-        # fetch the line that has changed
-        my $line = $term->line ($row);
-        my $text = $line->t;
+      # find all urls (if any)
+      while($text =~ /$url_matcher/g)
+        {
+          my $rend = $line->r;
+          my $url = $1;
 
-        # find all urls (if any)
-        while ($text =~ /$url_matcher/g) {
-            my $rend = $line->r;
-            my $url = $1;
-
-            my %h = ( 'row'      => $row,
-                      'col_from' => $-[1], 
-                      'col_to'   => $+[1] - 1,
-                      'url'      => $url);
-            push @url_db, \%h;
+          my %h = ('row'      => $row,
+                   'col_from' => $-[1],
+                   'col_to'   => $+[1] - 1,
+                   'url'      => $url);
+          push @url_db, \%h;
         }
     }
 
-    # 0 for none, positive count otherwise
-    return $#url_db + 1;
-}
+  # 0 for none, positive count otherwise
+  return $#url_db + 1;
+} # }}}
+
+sub on_user_command # {{{
+{
+  my($term, $cmd) = @_;
 
-sub on_user_command {
-    my ($term, $cmd) = @_;
+  $cmd eq "mark-yank-urls:activate_mark_mode" and activate_mark_mode($term);
 
-    $cmd eq "mark-yank-urls:activate_mark_mode"
-        and activate_mark_mode($term);
+  ()
+} # }}}
 
-    ()
-}
+sub on_key_press # {{{
+{
+  my($term, $event, $keysym, $octets) = @_;
 
-sub on_key_press {
-    my ($term, $event, $keysym, $octets) = @_;
+  ($keysym == 65507) && { $mod{control} = 1 };
+  ($keysym == 65505) && { $mod{shift} = 1 };
 
-    ($keysym == 65507) && { $mod{control} = 1 };
-    ($keysym == 65505) && { $mod{shift} = 1 };
-
-    # ignore all input when we are active
-    $mark_mode_active && return 1;
+  # ignore all input when we are active
+  $mark_mode_active && return 1;
 
-    ()
-}
+  ()
+} # }}}
 
-sub on_key_release {
-    my ($term, $event, $keysym, $octets) = @_;
+sub on_key_release # {{{
+{
+  my($term, $event, $keysym, $octets) = @_;
 
-    if ($mark_mode_active) {
-        my $ch = chr($keysym);
+  if($mark_mode_active)
+    {
+     my $ch = chr($keysym);
 
-        if ($keysym == 65307) {                     # <esc>
-            deactivate_mark_mode ($term);
-            return 1;
+     if(65307 == $keysym) # <esc>
+      {
+        deactivate_mark_mode($term);
 
-        } elsif ($keysym == 65293) {                # <enter>
-            my $url = get_active_url($term);
-            $url =~ s/\(["|><&()]\)/\\$1/;
-            $term->exec_async ($term->{browser} . ' ' . $url);
-            deactivate_mark_mode ($term);
-            return 1;
+        return 1;
+      }
+    elsif(65293 == $keysym) # <enter>
+      {
+        my $url = get_active_url($term);
+        $url =~ s/\(["|><&()]\)/\\$1/;
+        $term->exec_async ($term->{browser} . ' ' . $url);
+        deactivate_mark_mode ($term);
 
-        } elsif ($keysym == 65507) {                # <control>
-            $mod{control} = 0;
-            return 1;
+        return 1;
+      }
+    elsif(65507 == $keysym) # <control>
+      {
+        $mod{control} = 0;
 
-        } elsif ($keysym == 65505) {                # <shift>
-            $mod{shift} = 0;
-            return 1;
+        return 1;
+      }
+    elsif(65505 == $keysym) # <shift>
+      {
+        $mod{shift} = 0;
 
-        } elsif ($mod{control} && (($ch eq 'n') || ($ch eq 'p'))) {
-                                                    # ^n and ^p to cycle list
-            my $dir = ($ch eq 'n') ? 1 : -1;
-            move_highlight ($term, $dir);
-
-        } elsif ($ch eq 'y') {                      # y
-            do_copy ($term);
-            deactivate_mark_mode ($term);
-            return 1;
-
-        }
+        return 1;
+      }
+    elsif($mod{control} && (($ch eq 'n') || ($ch eq 'p')))
+      {
+        # ^n and ^p to cycle list
+        my $dir = ($ch eq 'n') ? 1 : -1;
+        move_highlight ($term, $dir);
+      }
+    elsif($ch eq 'y') # y
+      {
+        do_copy ($term);
+        deactivate_mark_mode ($term);
 
         return 1;
+      }
+
+    return 1;
+  }
+
+  ()
+} # }}}
+
+sub get_active_url # {{{
+{
+  my($term) = @_;
+  my $max = $#url_db + 1;
+
+  return if $url_selected < 0 || $url_selected >= $max;
+  return if not defined $url_db[$url_selected];
+
+  my $o = $url_db[$url_selected];
+  my %h = %$o;
+
+  return $h{url};
+} # }}}
+
+sub do_copy # {{{
+{
+  my($term) = @_;
+
+  my $text = get_active_url ($term);
+
+  if($term->{have_Clipboard})
+    {
+      Clipboard->copy($text);
+    }
+  else
+    {
+      $text =~ s/\(["|><&()]\)/\\$1/;
+      system("echo -n \"$text\" | xclip -i");
+    }
+} # }}}
+
+sub move_highlight # # {{{
+{
+  my($term, $dir) = @_;
+  my $max = $#url_db + 1;
+
+  do_highlight($term, 0);
+
+  $url_selected = ($max + $url_selected + $dir) % $max;
+
+  do_highlight($term, 1);
+
+  $term->want_refresh;
+} # }}}
+
+sub do_highlight # {{{
+{
+  my($term, $enable) = @_;
+  my $max = $#url_db + 1;
+
+  return if $url_selected < 0 || $url_selected >= $max;
+  return if not defined $url_db[$url_selected];
+
+  my $o = $url_db[$url_selected];
+  my %h = %$o;
+
+  my $row = $h{row};
+  my $line = $term->line ($row);
+  my $text = $line->t;
+  my $rend = $line->r;
+
+  if($enable)
+    {
+      $_ |= urxvt::RS_RVid
+      for @{$rend}[ $h{col_from} .. $h{col_to}];
+
+      # make it visible
+      $term->view_start ( $row < 0 ? $row : 0 );
+    }
+  else
+    {
+      $_ &= ~urxvt::RS_RVid
+      for @{$rend}[ $h{col_from} .. $h{col_to}];
     }
 
-    ()
-}
-
-sub get_active_url {
-    my ($term) = @_;
-    my $max = $#url_db + 1;
+  $line->r ($rend);
+} # }}}
 
-    return if $url_selected < 0 || $url_selected >= $max;
-    return if not defined $url_db[$url_selected];
-    my $o = $url_db[$url_selected];
-    my %h = %$o;
-
-    return $h{url};
-}
-
-sub do_copy {
-    my ($term) = @_;
-
-    my $text = get_active_url ($term);
+sub activate_mark_mode # {{{
+{
+  my($term) = @_;
 
-    if ($term->{have_Clipboard}) {
-        Clipboard->copy($text);
-    } else {
-        $text =~ s/\(["|><&()]\)/\\$1/;
-        system ("echo -n \"$text\" | xclip -i");
+  if($mark_mode_active)
+    {
+      move_highlight ($term, -1);
     }
-}
-
-sub move_highlight {
-    my ($term, $dir) = @_;
-    my $max = $#url_db + 1;
+  elsif(do_scan_for_urls ($term))
+    {
+      $term->{save_view_start} = $term->view_start;
 
-    do_highlight ($term, 0);
-    
-    $url_selected = ($max + $url_selected + $dir) % $max;
-        
-    do_highlight ($term, 1);
-
-    $term->want_refresh;
-}
-
-sub do_highlight {
-    my ($term, $enable) = @_;
-    my $max = $#url_db + 1;
-
-    return if $url_selected < 0 || $url_selected >= $max;
-    return if not defined $url_db[$url_selected];
-
-    my $o = $url_db[$url_selected];
-    my %h = %$o;
+      move_highlight ($term, 0);
 
-    my $row = $h{row};
-    my $line = $term->line ($row);
-    my $text = $line->t;
-    my $rend = $line->r;
-
-    if ($enable) {
-        $_ |= urxvt::RS_RVid
-        for @{$rend}[ $h{col_from} .. $h{col_to}];
-
-        # make it visible
-        $term->view_start ( $row < 0 ? $row : 0 );
+      $mark_mode_active=1 if($url_selected > -1);
+    }
+} # }}}
 
-    } else {
-        $_ &= ~urxvt::RS_RVid
-        for @{$rend}[ $h{col_from} .. $h{col_to}];
-    }
-
-    $line->r ($rend);
-}
-
-sub activate_mark_mode {
-    my ($term) = @_;
-
-    if ($mark_mode_active) {
+sub deactivate_mark_mode # {{{
+{
+  my($term) = @_;
 
-        move_highlight ($term, -1);
-
-    } elsif ( do_scan_for_urls ($term) ) {
-
-        $term->{save_view_start} = $term->view_start;
+  do_highlight($term, 0);
 
-        move_highlight ($term, 0);
-
-        $mark_mode_active=1 if ($url_selected > -1);
-    }
-}
+  $mark_mode_active = 0;
+  $url_selected = -1;
 
-sub deactivate_mark_mode {
-    my ($term) = @_;
-
-    do_highlight ($term, 0);
+  $term->view_start($term->{save_view_start});
+  $term->want_refresh;
+} # }}}
 
-    $mark_mode_active = 0;
-    $url_selected = -1;
-
-    $term->view_start ($term->{save_view_start});
-    $term->want_refresh;
-}
-
-# vim: set et ts=4 sw=4:
+# vim:ts=2:bs=2:sw=2:et:fdm=marker
--- a/.vim/colors/xoria256.vim	Fri Aug 05 21:40:00 2011 +0200
+++ b/.vim/colors/xoria256.vim	Fri Aug 05 21:40:27 2011 +0200
@@ -37,7 +37,7 @@
 hi Normal       ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1a1a1a cterm=none gui=none
 hi Cursor                                 ctermbg=214 guibg=#ffaf00
 hi CursorColumn                           ctermbg=238 guibg=#444444
-hi CursorLine                             ctermbg=238 guibg=#444444 cterm=none
+hi CursorLine                             ctermbg=238 guibg=#444444 cterm=bold gui=bold
 hi Error        ctermfg=15  guifg=#ffffff ctermbg=1   guibg=#800000
 hi ErrorMsg     ctermfg=15  guifg=#ffffff ctermbg=1   guibg=#800000
 hi FoldColumn   ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#101010
--- a/.vim/snippets/ruby.snippets	Fri Aug 05 21:40:00 2011 +0200
+++ b/.vim/snippets/ruby.snippets	Fri Aug 05 21:40:27 2011 +0200
@@ -418,3 +418,5 @@
 	task :${2:task_name => [:dependent, :tasks]} do
 		${3}
 	end
+snippet debug
+	puts "DEBUG: #{__FILE__}:#{__LINE__}"
--- a/.zshrc	Fri Aug 05 21:40:00 2011 +0200
+++ b/.zshrc	Fri Aug 05 21:40:27 2011 +0200
@@ -152,6 +152,9 @@
   export PATH=$HOME/bin:$PATH
 fi
 
+# Adding android stuff
+export PATH=$PATH:/opt/android-sdk/platform-tools
+
 # Setting default editor
 if [ -f /usr/bin/vim ] ; then
   export EDITOR=/usr/bin/vim