Unnamed Fossil Project

Check-in [e7547dbff4]
Login

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

Overview
Comment:Add support for using `tomb`. Additionally, force the $EDITOR to "vim".
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e7547dbff45edd072eebc4da8588a897d164ff51
User & Date: mastersrp 2015-11-18 12:36:32
Context
2015-11-18
12:37
tmux: Steal neat theme and remove redundant crap. check-in: c3356006e1 user: mastersrp tags: trunk
12:36
Add support for using `tomb`. Additionally, force the $EDITOR to "vim". check-in: e7547dbff4 user: mastersrp tags: trunk
12:28
vim: Minimize vimrc. No need for weird fancy shit. check-in: d3ac61a0d2 user: mastersrp tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to shell/.zshrc.

1
2
3
4
5
6


7
8
9
10
11
12
13
..
22
23
24
25
26
27
28













29
30
31
32
33
34
35
#
# Executes commands at the start of an interactive session.
#
# Authors:
#   Sorin Ionescu <sorin.ionescu@gmail.com>
#



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

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`






>
>







 







>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
..
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Executes commands at the start of an interactive session.
#
# Authors:
#   Sorin Ionescu <sorin.ionescu@gmail.com>
#

export EDITOR="vim"

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

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

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

if [ -d "$HOME/.graveyard" ]; then
	for grave in $(ls -a "$HOME/.graveyard"); do
		[[ "$grave" = "." ]] && continue
		[[ "$grave" = ".." ]] && continue
		KEY="${grave}.key"
		[[ -f "$HOME/.graveyard/$grave.key" ]] || continue
		DIR="${grave:0:-5}"
		MOUNT=$(mount | grep -F "$HOME/$DIR")
		[[ "x$MOUNT" != "x" ]] && continue
		tomb -q open "$HOME/.graveyard/$grave" "$HOME/$DIR" -k "$HOME/.graveyard/$grave.key"
	done
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`