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:
d='n138' href='#n138'>138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199