ruby-shell 0.21 → 0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rsh +3 -2
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8d28ba94f7b6a6e05496bccb94efe444ba34871ab036b448fb0d074dcadf59d
4
- data.tar.gz: 041e37fe2d4876a59b097d74eddd846be9de62915ee857943c4c86b2e4080a50
3
+ metadata.gz: 9a9320415c483581b6c0cd7d8295a63d2ce791e3a5f0b799db6969bad39dd866
4
+ data.tar.gz: 193dceeab1f13260e822f227d64737b1a32889d32c5f04dfc6b122a823f3cfcf
5
5
  SHA512:
6
- metadata.gz: a681b059f27359fa185cc6f1092ac3bf2b8e9084a79ee5650f154b906b25ec84a20eb4920961576a945787cb6d925c6f16cab915383ea9b07ba3a2ed58bc634d
7
- data.tar.gz: 04bde7676375ce81782b2ba15abda281a650de049d79734eb23b0db4b67987f089db1b2fd4bf3be52bc5dc6730f900d95acc2ade046fe70097272cf09730673e
6
+ metadata.gz: 959477f2dc3fefc75fd7cf25816e9fb82948972dcad53f088ca0d1f32a8a55cf06fcb29b4fb615d5499df35af94fe3fdfa08a0dfd80ca65edb8ee6eaf70dd87a
7
+ data.tar.gz: 7fb81c475f7d095a30d5014cda0e4a1da159826b780ac754961c957cf94499277db923b4c6e1d645d4dc6a2c13908fd51de746c3591656fab6d5c1d15d820ead
data/bin/rsh CHANGED
@@ -14,7 +14,7 @@
14
14
  # for any damages resulting from its use. Further, I am under no
15
15
  # obligation to maintain or extend this software. It is provided
16
16
  # on an 'as is' basis without any expressed or implied warranty.
17
- @version = "0.21"
17
+ @version = "0.23"
18
18
 
19
19
  # MODULES, CLASSES AND EXTENSIONS
20
20
  class String # Add coloring to strings (with escaping for Readline)
@@ -363,6 +363,7 @@ def getstr # A custom Readline-like function
363
363
  @pos = 0
364
364
  lift = true
365
365
  when 'TAB' # Tab completion of dirs and files
366
+ @ci = ""
366
367
  @tabsearch =~ /^-/ ? tabbing("switch") : tabbing("all")
367
368
  lift = true
368
369
  when 'S-TAB'
@@ -613,7 +614,7 @@ begin # Load .rshrc and populate @history
613
614
  ENV["TERM"] = "rxvt-unicode-256color"
614
615
  ENV["PATH"] ? ENV["PATH"] += ":" : ENV["PATH"] = ""
615
616
  ENV["PATH"] += "/home/#{@user}/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
616
- if File.exist?(@lscolors)
617
+ if @lscolors and File.exist?(@lscolors)
617
618
  ls = File.read(@lscolors)
618
619
  ls.sub!(/export.*/, '')
619
620
  ls.sub!(/^LS_COLORS=/, 'ENV["LS_COLORS"]=')
metadata CHANGED
@@ -1,19 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.21'
4
+ version: '0.23'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'A shell written in Ruby with extensive tab completions, aliases/nicks,
14
14
  history, syntax highlighting, theming and more. In continual development. New in
15
- 0.20: Better history search - write a partial command and press UP to get matches
16
- in history.'
15
+ 0.23: Minor bug fix in tab completion.'
17
16
  email: g@isene.com
18
17
  executables:
19
18
  - rsh