1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,20 @@ |
1 |
+# `EDITOR` |
|
2 |
+for EDITOR in 'vim' 'nvim' 'vi' 'nano' |
|
3 |
+do |
|
4 |
+ ! [ "$(command -v "$EDITOR")" ] || break |
|
5 |
+done |
|
6 |
+export EDITOR |
|
7 |
+ |
|
8 |
+# `TERMINAL` |
|
9 |
+for TERMINAL in 'xfce4-terminal' 'gnome-terminal' 'x-terminal-emulator' |
|
10 |
+do |
|
11 |
+ ! [ "$(command -v "$TERMINAL")" ] || break |
|
12 |
+done |
|
13 |
+export TERMINAL |
|
14 |
+ |
|
15 |
+# `BROWSER` |
|
16 |
+for BROWSER in 'firefox' 'chromium-browser' 'x-www-browser' |
|
17 |
+do |
|
18 |
+ ! [ "$(command -v "$BROWSER")" ] || break |
|
19 |
+done |
|
20 |
+export BROWSER |