cetus 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/bin/cetus +15 -2
- data/cetus.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -41,7 +41,7 @@ The rest is similar to lyra. Some key points are highlighted here.
|
|
41
41
|
|
42
42
|
Other than using bookmarks, you can jump quickly to other directories or open files using BACKTICK and the releant option which should become part of muscle memory very fast.
|
43
43
|
|
44
|
-
* Use Alt-d and Alt-f to see used directories and used files. Used directories are those dirs in which you have opened a file, not all dirs you've traversed.
|
44
|
+
* Use Alt-d and Alt-f to see used directories and used files. Used directories are those dirs in which you have opened a file, not all dirs you've traversed. Certain directories are added to this list to make it more useful such as GEM_HOME, RUBYPATH, GEM_PATH, RUBYLIB, PYTHONPATH and PYTHONHOME.
|
45
45
|
|
46
46
|
* By default selecting a file invokes $EDITOR, the default command can be changed from the menu.
|
47
47
|
|
@@ -49,7 +49,7 @@ Other than using bookmarks, you can jump quickly to other directories or open fi
|
|
49
49
|
|
50
50
|
* use Alt+ and Alt- to increase or decrease the number of columns shown on screen. By default 3 are shown.
|
51
51
|
|
52
|
-
* Use '=' to toggle hidden files, long listing, ignore case etc.
|
52
|
+
* Use '=' to toggle hidden files, long listing, ignore case , pager/editor mode, etc.
|
53
53
|
|
54
54
|
* Use slash "/" to run a regex on the dir listing.
|
55
55
|
|
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
|
9
|
+
# Last update: 2013-03-11 19:17
|
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.
|
28
|
+
VERSION="0.1.9"
|
29
29
|
O_CONFIG=true
|
30
30
|
CONFIG_FILE="~/.lyrainfo"
|
31
31
|
|
@@ -1006,6 +1006,7 @@ def config_read
|
|
1006
1006
|
load f
|
1007
1007
|
# maybe we should check for these existing else crash will happen.
|
1008
1008
|
$used_dirs.push(*(DIRS.split ":"))
|
1009
|
+
$used_dirs.concat get_env_paths
|
1009
1010
|
$visited_files.push(*(FILES.split ":"))
|
1010
1011
|
#$bookmarks.push(*bookmarks) if bookmarks
|
1011
1012
|
chars = ('A'..'Z').to_a
|
@@ -1017,6 +1018,18 @@ def config_read
|
|
1017
1018
|
end
|
1018
1019
|
end
|
1019
1020
|
end
|
1021
|
+
def get_env_paths
|
1022
|
+
files = []
|
1023
|
+
%w{ GEM_HOME PYTHONHOME}.each do |p|
|
1024
|
+
d = ENV[p]
|
1025
|
+
files.push d if d
|
1026
|
+
end
|
1027
|
+
%w{ RUBYLIB RUBYPATH GEM_PATH PYTHONPATH }.each do |p|
|
1028
|
+
d = ENV[p]
|
1029
|
+
files.concat d.split(":") if d
|
1030
|
+
end
|
1031
|
+
return files
|
1032
|
+
end
|
1020
1033
|
|
1021
1034
|
## save dirs and files and bookmarks to a file
|
1022
1035
|
def config_write
|
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.
|
8
|
+
spec.version = "0.1.9"
|
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.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
segments:
|
75
75
|
- 0
|
76
|
-
hash:
|
76
|
+
hash: -3880442743213768983
|
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:
|
85
|
+
hash: -3880442743213768983
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
88
|
rubygems_version: 1.8.25
|