rtfm-filemanager 2.6 → 2.6.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 +32 -0
  3. data/bin/rtfm +7 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b62ecc09edcba46b5c027d02c4042d69855345bd8d28f996fc6aa5346b62398a
4
- data.tar.gz: 6098c45f9c6d4947e0ef9857eab6843fbb8d0b228d94c0697b98e5a9ca00ac49
3
+ metadata.gz: 6e3ff4bab2b2b6c467f5427c74b000c93ff09a6f395c28aabeafc157c9466b4d
4
+ data.tar.gz: 3d8d2ceb06e663bc524b4105155b8afd88b4cc4c5c44d77e29b9019e3bf5b601
5
5
  SHA512:
6
- metadata.gz: 700f25265f3a231e950e2f23501db16dc8992c56cbc33af94921633335257d7026839fc26ad718ee817cba31fcc2badf571583e04ab8ed3cfa2c3ddefd792f47
7
- data.tar.gz: b5072cc09ddba4291dd98fa808bcabac12cfcdc340e64fa712e3a4dcf06479fae658da324daac3bd90afb900e4358a248ae6b1ecb49431556f1004241f3d73b2
6
+ metadata.gz: 55e3d5e254de06c2b9c71f5c1ad0b684d0f5a28a1cf19d57869c3a2c6f4adeeb96373b64f58f1f3110c1388af6c2fb5878fee0722ee46e93c40d132ad266caa0
7
+ data.tar.gz: f08f9ca02809a328f61da211a14b592df98b950241ae1f3f1671906c797b06e31230cf508d5c76d52b4b4f419b2f33d454cd2a2439cc15b25c59eb0bca471741
data/README.md CHANGED
@@ -11,6 +11,38 @@ systems.
11
11
 
12
12
  Note: RTFM works best with the (u)rxvt, xterm and Eterm terminal emulators.
13
13
 
14
+ ## Features
15
+
16
+ RTFM is one of the more feature rich terminal file managers. Some of the
17
+ features:
18
+
19
+ * RTFM shows images inline in the terminal (can be turned off)
20
+ * File contents is shown with proper syntax highlighting
21
+ * Item's meta data is shown at the top
22
+ * Easily browse file content (even pdf, MS/OpenOffice, etc.)
23
+ * Move around the file systems using arrow keys of VI keys
24
+ * Copy, move or rename files
25
+ * Create symlinks with just one key stroke
26
+ * Easily copy an item's path to clipboard or primary selection
27
+ * Order items the way you want
28
+ * See only files of a certain type
29
+ * Filter out all files not matching a [regex](https://www.rubyguides.com/2015/06/ruby-regex/) pattern
30
+ * Mark files and directories an do group actions on them
31
+ * Bookmark directories for easy jumping
32
+ * Follow a symlink to where it points with one key stroke
33
+ * Highlight files and directories matching a given pattern
34
+ * Find items using `locate` and jump directly to the desired item
35
+ * Find items and jump there using fuzzy search (uses
36
+ [fzf](https://github.com/junegunn/fzf))
37
+ * Execute any shell command from inside RTFM
38
+ * [navi](https://github.com/denisidoro/navi) integration for easier command
39
+ executions
40
+ * Easily unpack or create archives
41
+ * Show git status for the current directory
42
+ * Show comprehensive system info (processes running, disk space, dmesg, etc.)
43
+ * See if a directory (with sub dirs) has changed using cryptographic hashes
44
+ * Integration with OpenAI to get an executive summary of file content
45
+
14
46
  ## Why?
15
47
  RTFM parses your LS_COLORS to ensure color consistency with the terminal experience.
16
48
 
data/bin/rtfm CHANGED
@@ -530,8 +530,14 @@ def main_getkey # GET KEY FROM USER
530
530
  end
531
531
  when 'c' # Change/rename selected @selected
532
532
  cmd = w_b_getstr(": ", "mv \"#{@selected}\" \"#{@selected}\"")
533
+ el1 = cmd.sub(/mv \"(.*)\" \"(.*)\"/, '\1')
534
+ el2 = cmd.sub(/mv \"(.*)\" \"(.*)\"/, '\2')
533
535
  begin
534
- w_b_exec(cmd + " 2>/dev/null")
536
+ if el1 == el2
537
+ w_b_info(" Source and target are the same. No action done.")
538
+ else
539
+ w_b_exec(cmd + " 2>/dev/null")
540
+ end
535
541
  rescue StandardError => err
536
542
  w_b_info(err.to_s)
537
543
  end
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: '2.6'
4
+ version: 2.6.2
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-04-10 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -47,8 +47,7 @@ dependencies:
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 2.4: Added archive creation (key=Z) and extraction (key=z).
51
- New in 2.5: fzf integration via Ctrl-L. New in 2.6: navi integration via ctrl-n'
50
+ other features. New in 2.6.2: Fixed an annoyance in ''mv'' (key ''c'')'
52
51
  email: g@isene.com
53
52
  executables:
54
53
  - rtfm