diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-01 18:14:08 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-01 18:14:08 +0000 |
commit | 7e5ee56443e7f4da0f52887edbc7d5e9a54a35d4 (patch) | |
tree | d4220221ba31cb68128eb4d99a2df3a5c9615c07 /Completion/User | |
parent | bfa1e274341d5e40b7dc9d0fb6935b58ceb9adf0 (diff) | |
download | zsh-7e5ee56443e7f4da0f52887edbc7d5e9a54a35d4.tar.gz zsh-7e5ee56443e7f4da0f52887edbc7d5e9a54a35d4.tar.xz zsh-7e5ee56443e7f4da0f52887edbc7d5e9a54a35d4.zip |
don't fail on nonexistent ~/.nedit file.
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_nedit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_nedit b/Completion/User/_nedit index a3fcd9785..5261a54a9 100644 --- a/Completion/User/_nedit +++ b/Completion/User/_nedit @@ -44,7 +44,7 @@ else "$nedit_common[@]" fi -[[ $state = lang ]] && +[[ $state = lang && -f ~/.nedit ]] && _wanted neditlanguages expl 'language mode' \ compadd - ${(f)"$(sed -n \ '/^nedit.languageMode/,/^nedit/ s/.* \([^:]*\).*/\1/p' < ~/.nedit)"} |