1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

zshrcでsourceしたら&でエラーが出た・・・

Posted at

概要

.vimrcで以下のコマンドを実行したらなんか以下のようなエラーが出たので調べてみた

zsh
$ source .vimrc
/Users/oki.suguru/.vimrc:1: parse error near `&'

そもそも対応していない

要約すると

  • zshのsourceは.vimrcに対応していない
  • .vimrcはvimを起動するたびに勝手に読むから、sourceしなくても良い。

って事らしい。なんだそれ・・・

だけどそれってなんでだ?

よくわからん。そのうち調べる。

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?