Unnamed Fossil Project

Check-in [5150951f22]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:shell: Add proper zshrc support back in.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:5150951f22abde9a1ded1720a5b4fddbf5f40c6a
User & Date: necrophcodr 2015-11-15 11:47:22
Context
2015-11-15
11:51
shell: Improve zshrc support. check-in: 6569118d44 user: necrophcodr tags: trunk
11:47
shell: Add proper zshrc support back in. check-in: 5150951f22 user: necrophcodr tags: trunk
11:46
vim: Switch from NeoBundle to Plug. check-in: e5762ce840 user: necrophcodr tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added shell/.zshrc.



























































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
42
43
44
45
#
# Executes commands at the start of an interactive session.
#
# Authors:
#   Sorin Ionescu <sorin.ionescu@gmail.com>
#

if [[ ! -d "$HOME/.zprezto/" ]]; then
	git clone git://github.com/kishansundar/zprezto $HOME/.zprezto
	setopt EXTENDED_GLOB
	for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
		ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
	done
fi

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

SVDIR=$HOME/service

LANG=da_DK.UTF-8
LC_ALL=da_DK.UTF-8

if [ -d "$HOME/.local/bin" ]; then
	path[1,0]=$HOME/.local/bin
fi

path+=/usr/sbin

if [ "x$(tty | grep -E '\/dev\/tty[0-9]')" = "x" ]; then
	# This is a terminal emulator, not a virtual terminal.
	if [ "$(which keychain 2>/dev/null >/dev/null; echo $?)" = "0" ]; then
		GPG_TTY=`tty`
		export GPG_TTY
		SSH_PRIVKEYS=$(ls ~/.ssh/ | grep -E '^id_.*[^.pub]$')
		eval `keychain --eval --agents gpg,ssh ${SSH_PRIVKEYS} FA697FA1`
	fi
fi


export SVDIR LANG LC_ALL

# Customize to your needs...