summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-01-08 16:59:17 +0100
committerGravatar Tom Willemsen2012-01-08 16:59:17 +0100
commit7c4e930ba49f096bde0a2fc6bbc7dd0d0b6b2d6c (patch)
tree25fc61ec2f322d03f91f5245c513e7c1ae5a0216 /.zshrc
parent76258665e768d61ae8b8d4cd2190d5d65050e45c (diff)
downloaddotfiles-7c4e930ba49f096bde0a2fc6bbc7dd0d0b6b2d6c.tar.gz
dotfiles-7c4e930ba49f096bde0a2fc6bbc7dd0d0b6b2d6c.zip
ZSH: Move `env' and `line' to separate files
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc19
1 files changed, 3 insertions, 16 deletions
diff --git a/.zshrc b/.zshrc
index 0ec4dbd..683d8fa 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,6 +1,9 @@
# -*- Mode: shell-script -*-
# Setup variables
PATH="${HOME}/bin:${PATH}:/usr/local/bin"
+INFOPATH="${HOME}/documents/info:${INFOPATH}"
+
+export INFOPATH
HISTFILE=~/.zsh/histfile
HISTSIZE=1000
@@ -16,22 +19,6 @@ zstyle :compinstall filename '/home/slash/.zshrc'
autoload -Uz compinit
compinit
-# Functions
-function env()
-{
- exec /usr/bin/env "$@" | grep -v ^LESS_TERMCAP_
-}
-
-function line()
-{
- let width=`expr $COLUMNS - ${#1} - 2`
- for i in {1..$width}
- do
- echo -n \\x2d
- done
- echo " $1"
-}
-
function shutdown()
{
dbus-send --system --print-reply \