From dfc0c61ad371d73a7fce842f8196fb2cef081f1d Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 2 Sep 2015 11:49:31 +0200 Subject: config.commands: don't resolve macros in :rename/:touch --- ranger/config/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index acc98457..9f0481ce 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -651,6 +651,8 @@ class touch(Command): Creates a file with the name . """ + resolve_macros = False + def execute(self): from os.path import join, expanduser, lexists @@ -726,6 +728,8 @@ class rename(Command): Changes the name of the currently highlighted file to """ + resolve_macros = False + def execute(self): from ranger.container.file import File from os import access -- cgit 1.4.1-2-gfad0 elect> Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
blob: b3a92ead07ebde66e5f982870748805af09ffdb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
artik/mu/commit/html/089scenario_filesystem.cc.html?h=main&id=cd9bb850caeca88747a25436fc65c67c6d5cd89a'>cd9bb850 ^