about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-07-24 20:28:11 +0200
committertoonn <toonn@toonn.io>2021-07-24 20:28:11 +0200
commit84d2f2881e8a062488e26061ac5e3fea5a9d9b2b (patch)
tree8cab07b225106fd937879acbc99982337324e73b
parentcacb1b866772fd945385e52c8585e51cdf379cff (diff)
parent733b6e4ea94a0045e5d163109d758eb2b37391c0 (diff)
downloadranger-84d2f2881e8a062488e26061ac5e3fea5a9d9b2b.tar.gz
Merge branch 'osc52'
-rwxr-xr-xranger/config/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 0b61b6e4..2076dea3 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1933,7 +1933,7 @@ class linemode(default_linemode):
 
 
 class yank(Command):
-    """:yank [name|dir|path]
+    """:yank [name|dir|path|name_without_extension]
 
     Copies the file's name (default), directory or path into both the primary X
     selection and the clipboard.
@@ -1968,7 +1968,7 @@ class yank(Command):
                     ['pbcopy'],
                 ],
             }
-            ordered_managers = ['pbcopy', 'wl-copy', 'xclip', 'xsel']
+            ordered_managers = ['pbcopy', 'xclip', 'xsel', 'wl-copy']
             executables = get_executables()
             for manager in ordered_managers:
                 if manager in executables: