This commit is contained in:
David Tomaschik
2016-02-22 18:58:08 -08:00
6 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ installed-prefs
*.swp *.swp
*~ *~
*.bak *.bak
local_dotfiles

View File

@@ -40,5 +40,3 @@ if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
fi fi
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

View File

@@ -13,3 +13,5 @@ if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then
export GPG_TTY=`tty` export GPG_TTY=`tty`
fi fi
# End GPG # End GPG
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"

View File

@@ -1,2 +1,3 @@
setxkbmap -option ctrl:nocaps setxkbmap -option ctrl:nocaps
test -f "$HOME/.env" && "$HOME/.env"
test -f "$HOME/.profile" && . "$HOME/.profile" test -f "$HOME/.profile" && . "$HOME/.profile"

View File

@@ -56,5 +56,3 @@ fi
# Load any local settings # Load any local settings
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

View File

@@ -84,6 +84,12 @@ function postinstall {
# Install other useful tools # Install other useful tools
install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \ install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \
add_bin_symlink ${HOME}/bin/ptframework/ptf add_bin_symlink ${HOME}/bin/ptframework/ptf
# Refresh all gpg keys
if test -x "`which gpg2`" ; then
gpg2 --refresh-keys
else
gpg --refresh-keys
fi
} }
function ssh_key_already_installed { function ssh_key_already_installed {
@@ -276,6 +282,8 @@ install_dotfile_dir "${BASEDIR}/dotfiles"
test -d "${BASEDIR}/private_dotfiles" && \ test -d "${BASEDIR}/private_dotfiles" && \
test -d "${BASEDIR}/.git/git-crypt" && \ test -d "${BASEDIR}/.git/git-crypt" && \
install_dotfile_dir "${BASEDIR}/private_dotfiles" install_dotfile_dir "${BASEDIR}/private_dotfiles"
test -d "${BASEDIR}/local_dotfiles" && \
install_dotfile_dir "${BASEDIR}/local_dotfiles"
install_basic_dir "${BASEDIR}/bin" "${HOME}/bin" install_basic_dir "${BASEDIR}/bin" "${HOME}/bin"
(( $MINIMAL )) || postinstall (( $MINIMAL )) || postinstall
(( $INSTALL_KEYS )) && install_keys (( $INSTALL_KEYS )) && install_keys