ruby-shell 3.6.8 → 3.6.10

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rsh +3 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00cad244ed4045544cd6acffac1799a77064c1815ac27a9a3fc1bb016d902e13
4
- data.tar.gz: 5efc98a00cbfc393a4dd3db8cfb6f1342c8e3470f8a41920aa42c1b6a8b78caf
3
+ metadata.gz: 76a48b3b13e6a1eb7fed0d68be6934d03182b8a176960d81b3c680367cd1d72e
4
+ data.tar.gz: 4491a5c43703b4ad519df7e51ec3804a80bd9e6f45c84e8c53745453ec695b94
5
5
  SHA512:
6
- metadata.gz: 3f7c5528555838aa159519eb60c9311206d1817c350930f86d179c15774170efed7690b08d048c2c5eb16a899376adfe1687577436fffc2204bc45fd0d067dec
7
- data.tar.gz: d7a848b917003e8a7449f09d48d3f9cba04b0f400d36a92b9388d24dd7390a915ac097e9bf12b7d7f51b82251dfd386bbece7cca039f977f7eb3b047085792fc
6
+ metadata.gz: 9b502692bbb3d9471e24c97f8475c117381795ed431f002744a7774e98161ab2e9721e86e303c4e70e3b4685dbc07df30dd875bba8b178d180097a5a58ffedb0
7
+ data.tar.gz: 14c7824dcfcb688d3f63fbbe7fa621c06f3d41e7a9680376315c018ab4198defa22b47c74ef0644bcf046326bd4610502c7ef3ace49f05a5a8258f2c4af6d3ea
data/bin/rsh CHANGED
@@ -8,7 +8,7 @@
8
8
  # Web_site: http://isene.com/
9
9
  # Github: https://github.com/isene/rsh
10
10
  # License: Public domain
11
- @version = "3.6.8" # Fix: cd now works in && chained commands
11
+ @version = "3.6.10" # OSC 7: Report cwd to terminal (for wezterm etc.)
12
12
 
13
13
  # MODULES, CLASSES AND EXTENSIONS
14
14
  class String # Add coloring to strings (with escaping for Readline)
@@ -3556,7 +3556,7 @@ begin # Load .rshrc and populate @history
3556
3556
  end
3557
3557
  end
3558
3558
  ENV["SHELL"] = __FILE__
3559
- ENV["TERM"] = "rxvt-unicode-256color"
3559
+ # Don't override TERM - let terminal set it
3560
3560
  ENV["PATH"] ? ENV["PATH"] += ":" : ENV["PATH"] = ""
3561
3561
  ENV["PATH"] += "/home/#{@user}/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
3562
3562
  # Load actual LS_COLORS from file (now that @lscolors is set from .rshrc)
@@ -3591,6 +3591,7 @@ loop do
3591
3591
  end
3592
3592
  @prompt.gsub!(/#{Dir.home}/, '~') # Simplify path in prompt
3593
3593
  print "\033]0;rsh: #{current_dir}\007" # Set window title (no spawn)
3594
+ print "\033]7;file://#{@node}#{current_dir}\007" # OSC 7: Report cwd to terminal
3594
3595
  @history[0] = "" unless @history[0]
3595
3596
  cache_executables # Use cached executable lookup
3596
3597
  # Load plugins on first command (lazy loading)
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.8
4
+ version: 3.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-16 00:00:00.000000000 Z
11
+ date: 2026-01-18 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, auto-cd, auto-opening files and more. UPDATE
15
- v3.6.8: Fix cd in chained commands - cd now works correctly with && and || operators.'
15
+ v3.6.10: OSC 7 support - reports cwd to terminal for wezterm/kitty spawn-in-same-dir.'
16
16
  email: g@isene.com
17
17
  executables:
18
18
  - rsh