aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/editor.sh5
-rw-r--r--sh/profile.d/pager.sh4
2 files changed, 9 insertions, 0 deletions
diff --git a/sh/profile.d/editor.sh b/sh/profile.d/editor.sh
new file mode 100644
index 00000000..eaebf3bd
--- /dev/null
+++ b/sh/profile.d/editor.sh
@@ -0,0 +1,5 @@
+# Set editor
+EDITOR='vi'
+VISUAL=$EDITOR
+export EDITOR VISUAL
+
diff --git a/sh/profile.d/pager.sh b/sh/profile.d/pager.sh
new file mode 100644
index 00000000..7e55a1a9
--- /dev/null
+++ b/sh/profile.d/pager.sh
@@ -0,0 +1,4 @@
+# Set pager
+PAGER='less'
+export PAGER
+