summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/ext/rifle.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index a8d8bee7..eadbc110 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -354,6 +354,12 @@ class Rifle(object):
                         term = os.environ['TERM']
                         if term.startswith('rxvt-unicode'):
                             term = 'urxvt'
+                        elif term.startswith('rxvt-'):
+                            # Sometimes urxvt calls itself "rxvt-256color"
+                            if 'rxvt' in get_executables():
+                                term = 'rxvt'
+                            else:
+                                term = 'urxvt'
                         if term not in get_executables():
                             self.hook_logger("Can not determine terminal command.  "
                                 "Please set $TERMCMD manually.")
ani-tty/commit/src/window_list.h?id=e8fc80f5c1bf30585483d4dd1c27aae620862066'>e8fc80f5 ^
601a8803 ^
f9737251 ^











601a8803 ^

5bc38b6b ^

601a8803 ^
5cdd69f4 ^
80665ea0 ^
601a8803 ^
070547a7 ^
3b0f7e10 ^
a2726b6a ^




070547a7 ^
a2726b6a ^




8f45f332 ^
3b0f7e10 ^
a2726b6a ^
abc2f0de ^
a2726b6a ^



3b0f7e10 ^
0146e625 ^
a2726b6a ^
1926ceea ^
3b0f7e10 ^
0146e625 ^
601a8803 ^
0146e625 ^
3b0f7e10 ^
a2726b6a ^
0146e625 ^
3b0f7e10 ^

e8420e72 ^
1526a001 ^
a2726b6a ^
601a8803 ^
601a8803 ^
a2726b6a ^
83422656 ^
601a8803 ^

3b0f7e10 ^

601a8803 ^
13675fbf ^
601a8803 ^
0920b65d ^
6dd11f0f ^
bca37984 ^
3b0f7e10 ^
e96af853 ^
a2726b6a ^

601a8803 ^
a2726b6a ^
e5447cf3 ^
a2726b6a ^
2e99df1a ^
e5447cf3 ^
a2726b6a ^

ce32d874 ^
601a8803 ^
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106