From c8716e260e961c12b4b51acd805069de6e2d1f8e Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sun, 27 Oct 2019 21:53:50 +0200 Subject: Removed unnecessary arguments for mktemp in examples/bash_automatic_cd.sh --- examples/bash_automatic_cd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bash_automatic_cd.sh b/examples/bash_automatic_cd.sh index c143c68c..0ab0ec13 100644 --- a/examples/bash_automatic_cd.sh +++ b/examples/bash_automatic_cd.sh @@ -9,7 +9,7 @@ ranger-cd() { local temp_file chosen_dir - temp_file="$(mktemp -t tmp.XXXXXX)" + temp_file="$(mktemp)" ranger --choosedir="$temp_file" -- "${@:-$PWD}" if chosen_dir="$(<"$temp_file")" && [[ -n "$chosen_dir" ]]; then cd -- "$chosen_dir" -- cgit 1.4.1-2-gfad0 ='953e3cc1204cde0f59c0d1230694b5ad5682c698'>this commit Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
path: root/tests/unittests/test_common.h
blob: bcef3367ced7b69c24c5453db4a78dd83dd7e7c3 (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