rtfm-filemanager 4.06 → 4.09
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.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/bin/rtfm +4 -5
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 845f4eb1b0afececf6c7e05c984d382652814f83e6ff3a86a22f36f1909b14b7
|
4
|
+
data.tar.gz: b3921ab95180c2c40998304fdc46b0a20847d5a8ea3ac1b53c33bd34696752eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d7371f876e623f0ddb2729d007b01ef99d5ab32dccb42536145ce89fcad4b56a1b9f4ee3e8ef71a505e800c6283a4061a65bdbb647f52a3fe2a9c4e851c6cf7
|
7
|
+
data.tar.gz: 7e10134b602b712bfd14389f91409e87457cfbfc9818f86680b77a5c248181f8a58965f874701392cbe795c4d52322ea541b403432ae290a5ebc617d1788c3ba
|
data/README.md
CHANGED
@@ -37,11 +37,9 @@ features are:
|
|
37
37
|
* Follow a symlink to where it points with one key stroke
|
38
38
|
* Highlight files and directories matching a given pattern
|
39
39
|
* Find items using `locate` and jump directly to the desired item
|
40
|
-
* Find items and jump there using fuzzy search (uses
|
41
|
-
[fzf](https://github.com/junegunn/fzf))
|
40
|
+
* Find items and jump there using fuzzy search (uses [fzf](https://github.com/junegunn/fzf))
|
42
41
|
* Execute any shell command from inside RTFM
|
43
|
-
* [navi](https://github.com/denisidoro/navi) integration for easier command
|
44
|
-
executions
|
42
|
+
* [navi](https://github.com/denisidoro/navi) integration for easier command executions
|
45
43
|
* Easily unpack or create archives
|
46
44
|
* Show git status for the current directory
|
47
45
|
* Show comprehensive system info (processes running, disk space, dmesg, etc.)
|
data/bin/rtfm
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 = "4.
|
17
|
+
@version = "4.09" # Made path not lowercase for coloring
|
18
18
|
|
19
19
|
# PRELIMINARIES
|
20
20
|
@help = <<HELPTEXT
|
@@ -1410,8 +1410,8 @@ def openai # INTERFACE TO OPENAI
|
|
1410
1410
|
p += "Give a brief summary of its content: " + c unless File.directory?(@selected) and c == ""
|
1411
1411
|
|
1412
1412
|
begin
|
1413
|
-
response = client.
|
1414
|
-
text = "OpenAI description:\n" + response["choices"][0]["
|
1413
|
+
response = client.chat(parameters: { model: @aimodel, messages: [{ role: "user", content: p }], max_tokens: 400 })
|
1414
|
+
text = "OpenAI description:\n" + response["choices"][0]["message"]["content"]
|
1415
1415
|
rescue
|
1416
1416
|
text = "Error retrieving OpenAI request.\n\n"
|
1417
1417
|
text += "Check your connection and @ai secret key (in .rtfm.conf).\n\n"
|
@@ -1711,9 +1711,8 @@ loop do # OUTER LOOP - CATCHING REFRESHES VIA 'r'
|
|
1711
1711
|
@index = 0
|
1712
1712
|
end
|
1713
1713
|
end
|
1714
|
-
dir_path = Dir.pwd.downcase
|
1715
|
-
@w_t.bg = @topmatch.find { |name, _| name == "" || dir_path.include?(name.downcase) }&.last
|
1716
1714
|
dir_old = Dir.pwd
|
1715
|
+
@w_t.bg = @topmatch.find { |name, _| name == "" || dir_old.include?(name) }&.last
|
1717
1716
|
@index = 0 if @index == nil
|
1718
1717
|
index_old = @index
|
1719
1718
|
if @orderchange # Change in ordering must be handled
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtfm-filemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '4.
|
4
|
+
version: '4.09'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -36,19 +36,18 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '7.4'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '7.4'
|
47
47
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
48
48
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
49
49
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
50
|
-
other features. New in 4.
|
51
|
-
''@'').'
|
50
|
+
other features. New in 4.09: Made path not lowercase for coloring.'
|
52
51
|
email: g@isene.com
|
53
52
|
executables:
|
54
53
|
- rtfm
|