huffshell 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.md +5 -5
- metadata +13 -2
data/Readme.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
HuffShell
|
2
2
|
====================
|
3
3
|
|
4
|
-
HuffShell is a gem for optimizing your ZSH aliases,
|
4
|
+
HuffShell is a gem for optimizing your ZSH aliases, programmatically.
|
5
5
|
|
6
6
|
The gems looks at your history which can be automatically stored and generates aliases based on your usage. Your history is used to determine what you use the most and generate the shortest commands based on usage.
|
7
7
|
|
8
|
-
For example, you use 'git' 500 times and you use 'ls -l' 100 times. You should add aliases that are 'g' and 'll'. It could save you hundreds of
|
8
|
+
For example, you use 'git' 500 times and you use 'ls -l' 100 times. You should add aliases that are 'g' and 'll'. It could save you hundreds of keystrokes.
|
9
9
|
|
10
10
|
In order to do that, huffshell generates stats of your usage and gives them to you, as you might hope.
|
11
11
|
|
@@ -30,14 +30,14 @@ cat ~/.zsh_history
|
|
30
30
|
Here is how you install the gem.
|
31
31
|
|
32
32
|
```script
|
33
|
-
# install
|
34
|
-
gem install
|
33
|
+
# install the gem
|
34
|
+
gem install huffshell
|
35
35
|
|
36
36
|
# need to be able to access this from the gem
|
37
37
|
alias > ~/.aliases.cache
|
38
38
|
huffshell
|
39
39
|
|
40
|
-
# cleanup
|
40
|
+
# Optional cleanup
|
41
41
|
alias > ~/.aliases.cache
|
42
42
|
```
|
43
43
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: huffshell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,18 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-06-18 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: colorize
|
16
|
+
requirement: &70101664442100 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70101664442100
|
14
25
|
description: A parser and recommendation system for your shell aliases based on your
|
15
26
|
shell history
|
16
27
|
email: paul.mckellar@gmail.com
|