Updates.
This commit is contained in:
parent
bac1c2e9c1
commit
6cb7f58a05
3 changed files with 5 additions and 2 deletions
|
@ -22,6 +22,7 @@ function! LoadPlugins()
|
||||||
Plug 'morhetz/gruvbox' " gruvbox is a good colour scheme on 256 colours
|
Plug 'morhetz/gruvbox' " gruvbox is a good colour scheme on 256 colours
|
||||||
|
|
||||||
Plug 'amanning9/django-plus.vim' " Improvements for identifying files in django projects.
|
Plug 'amanning9/django-plus.vim' " Improvements for identifying files in django projects.
|
||||||
|
Plug 'Glench/Vim-Jinja2-Syntax' " Jinja syntax detection.
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" PLUGIN INITIALISATION
|
" PLUGIN INITIALISATION
|
||||||
|
|
|
@ -5,6 +5,8 @@ SSH_ENV=$HOME/.ssh/environment.`hostname`
|
||||||
|
|
||||||
start_agent ()
|
start_agent ()
|
||||||
{
|
{
|
||||||
|
# $1 Socket path to bind to.
|
||||||
|
|
||||||
# If not running interactively, don't do anything else
|
# If not running interactively, don't do anything else
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
@ -13,7 +15,7 @@ start_agent ()
|
||||||
echo "Connecting to ssh-pageant..."
|
echo "Connecting to ssh-pageant..."
|
||||||
eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ssh-pageant-$USERNAME")
|
eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ssh-pageant-$USERNAME")
|
||||||
else
|
else
|
||||||
ssh-agent > ${SSH_ENV}
|
ssh-agent $alex_agent_args > ${SSH_ENV}
|
||||||
chmod 600 ${SSH_ENV}
|
chmod 600 ${SSH_ENV}
|
||||||
. ${SSH_ENV} > /dev/null
|
. ${SSH_ENV} > /dev/null
|
||||||
echo "Created a new ssh-agent $SSH_AGENT_PID"
|
echo "Created a new ssh-agent $SSH_AGENT_PID"
|
||||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
||||||
Subproject commit 97ac8df33f82b75501a43108131ca9835d3100ec
|
Subproject commit ab124dd38b5878f771e5e8deaeb663a363268a40
|
Loading…
Reference in a new issue