=== modified file 'zsh-functions/zsv_write_scriptnames' --- zsh-functions/zsv_write_scriptnames 2014-06-23 14:54:36 +0000 +++ zsh-functions/zsv_write_scriptnames 2014-06-23 13:01:47 +0000 @@ -12,13 +12,12 @@ print -rl - $restart_files $loaded $zsv_svtab >$zsv_dir/restart.files -# add the executable to restart.files if [[ $run[1] == /* ]]; then # absolute path - print -r - $run[1] >>$zsv_dir/restart.files + print -r - $run[1] >>$zsv_dir/run.files elif (($+commands[$run[1]])); then # command found in path - print -r - $commands[$run[1]] >>$zsv_dir/restart.files + print -r - $+commands[$run[1]] >>$zsv_dir/restart.files fi if (($#reload_files)); then