ruby-shell 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/rsh +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42d9cc67e267cc950508cd413c920a948594343c05eb7908f684db4c5994d808
|
4
|
+
data.tar.gz: 9bec180e3d91fd5867f725cc397531c37aa62c7097f349168abf338dfe94428b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aca12ee80c5eb1e4e8f1889c0c580e4f8be9c58f542fe593c30ff76aebf29777b2b88e68915c24bb6f64a3aefc2c52865dcc952b3eee89aecb842765acce0bb1
|
7
|
+
data.tar.gz: 963d434b4670828f1989957db7ddf921cbafc4b39decd45a8f1f23a1e3f9be7dc1811b7b0eb4cc608c2676bdf828ef4337a0af246876720f83c87894ef725144
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Simple. One file. Minimum external requirements.
|
|
10
10
|
# Installation
|
11
11
|
Clone this repo and drop `rsh` into your preferred bin directory. Drop `.rshrc` into your home directory and edit as you see fit.
|
12
12
|
|
13
|
-
Or simply `gem install
|
13
|
+
Or simply `gem install ruby-shell`.
|
14
14
|
|
15
15
|
# Features
|
16
16
|
* Aliases (called `nicks`in rsh) - both for commands and general nicks
|
data/bin/rsh
CHANGED
@@ -359,7 +359,7 @@ def cmd_check(str) # Check if each element on the readline matches commands, nic
|
|
359
359
|
el.c(@c_gnick)
|
360
360
|
elsif File.exists?(el.sub(/^~/, "/home/#{@user}"))
|
361
361
|
el.c(@c_path)
|
362
|
-
elsif system
|
362
|
+
elsif system "which #{el}", %i[out err] => File::NULL
|
363
363
|
el.c(@c_cmd)
|
364
364
|
else
|
365
365
|
el
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-shell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -10,8 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: A shell written in Ruby with extensive tab completions, aliases/nicks,
|
14
|
-
history, syntax highlighting and theming.
|
13
|
+
description: 'A shell written in Ruby with extensive tab completions, aliases/nicks,
|
14
|
+
history, syntax highlighting and theming. New in 0.2: Speed-up of syntax highlighting'
|
15
15
|
email: g@isene.com
|
16
16
|
executables:
|
17
17
|
- rsh
|