Unnamed Fossil Project

Check-in [cb31f11f58]
Login

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

Overview
Comment:term: get pretty colors fast.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cb31f11f58ba36110c4c3894ba11a3bd5e9a46ee
User & Date: necrophcodr 2015-08-27 21:48:52
Context
2015-10-18
12:03
vim: Add rust language support. check-in: 0e4c1ee000 user: necrophcodr tags: trunk
2015-08-27
21:48
term: get pretty colors fast. check-in: cb31f11f58 user: necrophcodr tags: trunk
21:47
term: use base16 color themes. check-in: 98c880e881 user: necrophcodr tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to shell/.mkshrc.

1
2
3
4
5






6
7
8
9
10
11
12
..
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/mksh

export LC_ALL="da_DK.UTF-8"
export LANG="da_DK.UTF-8"
export LANGUAGE="da_DK.UTF-8"







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]$')
................................................................................
	git branch 2>/dev/null | grep '*' | cut -d ' ' -f 2
}

_branch_fossil() {
	printf "";
}

# Pretty colors!
if [ -s "$HOME/.config/base16-shell/base16-monokai.dark.sh" ]; then
	source "$HOME/.config/base16-shell/base16-monokai.dark.sh"
fi

# Path to personal scripts and executables (~/.local/bin).
#
[ -d "$HOME/.local/bin" ] && PATH=$HOME/.local/bin:$PATH
[ -d "$HOME/.luarocks/bin" ] &&	PATH=$HOME/.luarocks/bin:$PATH
[ -d "$HOME/.go" ] && GOPATH=${HOME}/.go
[ -d "$HOME/service" ] && SVDIR=$HOME/service
[ -d "$HOME/perl5" ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"





>
>
>
>
>
>







 







<
<
<
<
<







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
..
28
29
30
31
32
33
34





35
36
37
38
39
40
41
#!/bin/mksh

export LC_ALL="da_DK.UTF-8"
export LANG="da_DK.UTF-8"
export LANGUAGE="da_DK.UTF-8"

# Pretty colors!
if [ -s "$HOME/.config/base16-shell/base16-monokai.dark.sh" ]; then
	source "$HOME/.config/base16-shell/base16-monokai.dark.sh"
fi


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]$')
................................................................................
	git branch 2>/dev/null | grep '*' | cut -d ' ' -f 2
}

_branch_fossil() {
	printf "";
}






# Path to personal scripts and executables (~/.local/bin).
#
[ -d "$HOME/.local/bin" ] && PATH=$HOME/.local/bin:$PATH
[ -d "$HOME/.luarocks/bin" ] &&	PATH=$HOME/.luarocks/bin:$PATH
[ -d "$HOME/.go" ] && GOPATH=${HOME}/.go
[ -d "$HOME/service" ] && SVDIR=$HOME/service
[ -d "$HOME/perl5" ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"