@@ -378,7 +378,10 @@ if [[ -z "$SSH_CLIENT" ]] || can_haz keychain; then
378
378
if [[ " $( _zqs-get-setting ssh-askpass-require) " == ' true' ]]; then
379
379
zsh-quickstart-set-ssh-askpass-require
380
380
fi
381
- load-our-ssh-keys
381
+ load_ssh_keys=" $( _zqs-get-setting load-ssh-keys true) "
382
+ if [[ " $load_ssh_keys " != " false" ]]; then
383
+ load-our-ssh-keys
384
+ fi
382
385
fi
383
386
384
387
# Load local env settings ( if they exist )
@@ -758,17 +761,19 @@ function zqs-help() {
758
761
echo " "
759
762
echo " Quickstart settings commands:"
760
763
echo " zqs disable-bindkey-handling - Set the quickstart to not touch any bindkey settings. Useful if you're using another plugin to handle it."
761
- echo " zqs enable-bindkey-handling - Set the quickstart to configure your bindkey settings. Default behavior."
764
+ echo " zqs enable-bindkey-handling - Set the quickstart to configure your bindkey settings. This is the default behavior."
762
765
echo " zqs enable-control-c-decorator - Creates a TRAPINT function to display '^C' when you type control-c instead of being silent. Default behavior."
763
766
echo " zqs disable-control-c-decorator - No longer creates a TRAPINT function to display '^C' when you type control-c."
764
767
echo " zqs disable-omz-plugins - Set the quickstart to not load oh-my-zsh plugins if you're using the standard plugin list"
765
768
echo " zqs enable-omz-plugins - Set the quickstart to load oh-my-zsh plugins if you're using the standard plugin list"
766
769
echo " zqs enable-ssh-askpass-require - Set the quickstart to prompt for your ssh passphrase on the command line."
767
- echo " zqs disable-ssh-askpass-require - Set the quickstart to prompt for your ssh passphrase via a gui program. Default behavior"
770
+ echo " zqs disable-ssh-askpass-require - Set the quickstart to prompt for your ssh passphrase via a gui program. This is the default behavior"
768
771
echo " zqs disable-ssh-key-listing - Set the quickstart to not display all the loaded ssh keys"
769
- echo " zqs enable-ssh-key-listing - Set the quickstart to display all the loaded ssh keys. Default behavior."
772
+ echo " zqs enable-ssh-key-listing - Set the quickstart to display all the loaded ssh keys. This is the default behavior."
773
+ echo " zqs disable-ssh-key-loading - Set the quickstart to not load your ssh keys. Useful if you're storing them in a yubikey."
774
+ echo " zqs enable-ssh-key-loading - Set the quickstart to load your ssh keys if they aren't already in an ssh agent. This is the default behavior."
770
775
echo " zqs disable-zmv-autoloading - Set the quickstart to not run 'autoload -U zmv'. Useful if you're using another plugin to handle it."
771
- echo " zqs enable-zmv-autoloading - Set the quickstart to run 'autoload -U zmv'. Default behavior."
776
+ echo " zqs enable-zmv-autoloading - Set the quickstart to run 'autoload -U zmv'. This is the default behavior."
772
777
echo " zqs delete-setting SETTINGNAME - Remove a zqs setting file"
773
778
echo " zqs get-setting SETTINGNAME [optional default value] - load a zqs setting"
774
779
echo " zqs set-setting SETTINGNAME value - Set an arbitrary zqs setting"
@@ -816,6 +821,12 @@ function zqs() {
816
821
' disable-ssh-key-listing' )
817
822
_zqs-set-setting list-ssh-keys false
818
823
;;
824
+ ' disable-ssh-key-loading' )
825
+ _zqs-set-setting load-ssh-keys false
826
+ ;;
827
+ ' enable-ssh-key-loading' )
828
+ _zqs-set-setting load-ssh-keys true
829
+ ;;
819
830
' selfupdate' )
820
831
_update-zsh-quickstart
821
832
;;
0 commit comments