summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.zsh/func/baseconv2
-rw-r--r--.zsh/zshenv/20_editor13
-rw-r--r--.zsh/zshenv/20_pager15
3 files changed, 29 insertions, 1 deletions
diff --git a/.zsh/func/baseconv b/.zsh/func/baseconv
index 05e7d8d..3c97468 100755
--- a/.zsh/func/baseconv
+++ b/.zsh/func/baseconv
@@ -4,7 +4,7 @@
#
# zsh-based conversion between numeric bases
#
-# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
+# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.madduck.net/etc/zsh.git
diff --git a/.zsh/zshenv/20_editor b/.zsh/zshenv/20_editor
new file mode 100644
index 0000000..59000ca
--- /dev/null
+++ b/.zsh/zshenv/20_editor
@@ -0,0 +1,13 @@
+# zshenv/20_editor
+#
+# set editor variables
+#
+# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+export EDITOR='vim'
+export VISUAL=$EDITOR
+
+# vim:ft=zsh
diff --git a/.zsh/zshenv/20_pager b/.zsh/zshenv/20_pager
new file mode 100644
index 0000000..8f58d11
--- /dev/null
+++ b/.zsh/zshenv/20_pager
@@ -0,0 +1,15 @@
+# zshenv/20_pager
+#
+# set pager variables
+#
+# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+export PAGER='less'
+
+# to view some binary files in less
+export LESSOPEN="| /usr/bin/lesspipe %s"
+
+# vim:ft=zsh