Unnamed Fossil Project

Check-in [d70ba10b16]
Login

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

Overview
Comment:shell: Implement keychain ONLY if available.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d70ba10b1640dcd7298881149a84cdcc8b93c271
User & Date: necrophcodr 2015-08-24 06:36:23
Context
2015-08-24
06:38
shell: Implement GPG_TTY environment variable. check-in: b01d746382 user: necrophcodr tags: trunk
06:36
shell: Implement keychain ONLY if available. check-in: d70ba10b16 user: necrophcodr tags: trunk
2015-08-23
10:19
vim: Remove solarized theme, and switch to desert theme. check-in: 0f3ae61f07 user: necrophcodr tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to shell/.profile.

11
12
13
14
15
16
17

18

19
20
21
22
23
24
25
[ -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)"

PATH=./node_modules/.bin:$PATH


keychain --agents ssh,gpg --clear


# Bash specific
#PS1='\[\e[0;32m\]\u@\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ '
PS1='\[\e]0;\w\a\]\[\e[32m\]\u@\h\[\e[0m\]: \[\e[33m\]\w\[\e[0m\]\n$ '
HOSTNAME=$(hostname)

EDITOR='vim'







>
|
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[ -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)"

PATH=./node_modules/.bin:$PATH

if [ "$(which keychain 2>/dev/null >/dev/null; echo $?)" = "0" ]; then
	keychain --agents ssh,gpg --clear
fi

# Bash specific
#PS1='\[\e[0;32m\]\u@\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ '
PS1='\[\e]0;\w\a\]\[\e[32m\]\u@\h\[\e[0m\]: \[\e[33m\]\w\[\e[0m\]\n$ '
HOSTNAME=$(hostname)

EDITOR='vim'