cetus 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/cetus +7 -3
  2. data/cetus.gemspec +1 -1
  3. metadata +4 -4
data/bin/cetus CHANGED
@@ -6,7 +6,7 @@
6
6
  # Author: rkumar http://github.com/rkumar/cetus/
7
7
  # Date: 2013-02-17 - 17:48
8
8
  # License: GPL
9
- # Last update: 2013-03-11 19:17
9
+ # Last update: 2013-03-12 21:02
10
10
  # ----------------------------------------------------------------------------- #
11
11
  # cetus.rb Copyright (C) 2012-2013 rahul kumar
12
12
  # == TODO
@@ -25,7 +25,7 @@ require 'fileutils'
25
25
  # copy into PATH
26
26
  # alias c=~/bin/cetus.rb
27
27
  # c
28
- VERSION="0.1.9"
28
+ VERSION="0.1.10"
29
29
  O_CONFIG=true
30
30
  CONFIG_FILE="~/.lyrainfo"
31
31
 
@@ -214,7 +214,7 @@ RED = "\e[31m"
214
214
  ON_RED = "\e[41m"
215
215
  GREEN = "\e[32m"
216
216
  YELLOW = "\e[33m"
217
- BLUE = "\e[34m"
217
+ BLUE = "\e[1;34m"
218
218
 
219
219
  ON_BLUE = "\e[44m"
220
220
  REVERSE = "\e[7m"
@@ -1449,6 +1449,10 @@ def z_interface
1449
1449
  if File.exists? file
1450
1450
  $title = "Directories from ~/.z"
1451
1451
  $files = `sort -rn -k2 -t '|' ~/.z | cut -f1 -d '|'`.split("\n")
1452
+ home = ENV['HOME']
1453
+ $files.collect! do |f|
1454
+ f.sub(/#{home}/,"~")
1455
+ end
1452
1456
  end
1453
1457
  end
1454
1458
 
data/cetus.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "cetus"
8
- spec.version = "0.1.9"
8
+ spec.version = "0.1.10"
9
9
  spec.authors = ["Rahul Kumar"]
10
10
  spec.email = ["sentinel1879@gmail.com"]
11
11
  spec.description = %q{lightning fast file navigator}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cetus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-11 00:00:00.000000000 Z
12
+ date: 2013-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  segments:
75
75
  - 0
76
- hash: -3880442743213768983
76
+ hash: 1859142435036201987
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: -3880442743213768983
85
+ hash: 1859142435036201987
86
86
  requirements: []
87
87
  rubyforge_project:
88
88
  rubygems_version: 1.8.25