ruby-shell 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/bin/rsh +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6549e60bd6e3eadce8bb94374b5ce63808623993dc3392dacef9baa6aa096db
4
- data.tar.gz: a182ba6217152b67ce55167fc7298b46870daf207a472815e3b8dfe2502b8dd2
3
+ metadata.gz: 42d9cc67e267cc950508cd413c920a948594343c05eb7908f684db4c5994d808
4
+ data.tar.gz: 9bec180e3d91fd5867f725cc397531c37aa62c7097f349168abf338dfe94428b
5
5
  SHA512:
6
- metadata.gz: faeff68227a6184f93db225bebfff949243b5e5bc92f8d3d6fdb8a84859d5b5af27cd783983fd478402ff0caef56f0bc464bcf076792b38affac0199a8369d3f
7
- data.tar.gz: b53005bad6d781cc5e113110ee7e56fb90e79f7643044a61ddfc4f4648637f245f84b2d5af6b8134b6693d941251cea472100eb14a7bc934f09dab96b46ec86e
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 rsh`.
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("which '#{el}' >/dev/null")
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.1'
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