mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add ptf.
This commit is contained in:
@@ -65,11 +65,19 @@ function install_git {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function add_bin_symlink {
|
||||||
|
local LINKNAME=${2:-`basename $1`}
|
||||||
|
ln -s ${1} ${HOME}/bin/${LINKNAME}
|
||||||
|
}
|
||||||
|
|
||||||
function postinstall {
|
function postinstall {
|
||||||
# Install Vundle plugins
|
# Install Vundle plugins
|
||||||
if [[ -d $HOME/.vim/bundle/Vundle.vim ]] ; then
|
if [[ -d $HOME/.vim/bundle/Vundle.vim ]] ; then
|
||||||
vim +VundleInstall +qall
|
vim +VundleInstall +qall
|
||||||
fi
|
fi
|
||||||
|
# Install other useful tools
|
||||||
|
install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \
|
||||||
|
add_bin_symlink ${HOME}/bin/ptframework/ptf
|
||||||
}
|
}
|
||||||
|
|
||||||
function ssh_key_already_installed {
|
function ssh_key_already_installed {
|
||||||
|
|||||||
Reference in New Issue
Block a user