1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Let zsh autocreate ~/.autojump_errors as needed.

This commit is contained in:
Sudish Joseph 2010-01-16 08:24:18 +08:00 committed by Joel Schaerer
parent f6d26b5833
commit 99d72918c8

View File

@ -15,7 +15,7 @@
#along with autojump. If not, see <http://www.gnu.org/licenses/>. #along with autojump. If not, see <http://www.gnu.org/licenses/>.
function autojump_preexec() { function autojump_preexec() {
(autojump -a "$(pwd -P)"&)>/dev/null 2>>${HOME}/.autojump_errors (autojump -a "$(pwd -P)"&)>/dev/null 2>>|${HOME}/.autojump_errors
} }
typeset -ga preexec_functions typeset -ga preexec_functions