zsh crashing when editing .rs files onlyZSH tab completion: only complete files and not binariesIssues with...

FPGA CPU's, how to find the max speed?

What is the meaning of [[:space:]] in bash?

How can I find what program is preventing my Mac from going to sleep?

How should one refer to knights (& dames) in academic writing?

(Piano) is the purpose of sheet music to be played along to? Or a guide for learning and reference during playing?

Getting one over on the boss

Why are road bikes (not time trial bikes) used in many triathlons?

Should I be able to keep my company purchased standing desk when I leave my job?

Can a pizza stone be fixed after soap has been used to clean it?

Why don't commercial aircraft adopt a slightly more seaplane-like design to allow safer ditching in case of emergency?

Alternator dying so junk car?

Is there a standard way of referencing line numbers in a draft?

Why is Katakana not pronounced Katagana?

Is the Gritty Realism variant incompatible with dungeon-based adventures?

Farmer needs to get his word across the river

How could a medieval fortress manage large groups of migrants and travelers?

Strategy to pay off revolving debt while building reserve savings fund?

Automatic solution for nice roots - but problem with nested ones

Do dragons smell of lilacs?

Sending a photo of my bank account card to the future employer

Sankhara meditation

How to delete certain lists from a nested list?

How to say no to more work as a PhD student so I can graduate

Is it OK to use personal email ID for faculty job applications or should we use (current) institute's ID



zsh crashing when editing .rs files only


ZSH tab completion: only complete files and not binariesIssues with Vim while using ZSHzsh syntax highlighting for filesWhat files were sourced, zshzsh fails at path completition when command is vimzsh, modularity,multiple .zsh files and oh-my-zshWhy do Vim colors look different inside and outside of tmux?Reload zsh when resizing terminator windowWhen using [!set] zsh invokes history expansionarrow keys for line editing during zsh read builtin






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















As the title says, zsh crashes when writing to a rust .rs file using vim. It crashes whenever I save the file using :w.



It never crashes when I edit another filetype (I've tried .c, .js, .py). I'm guessing that it has something to do with some kind of filewatcher. I noticed it while going through the rustlings exercises and have a hunch it has to do with the rustlings watch but I'm having trouble getting rid of this issue.



The error:



[1]  + 1858 suspended (tty output)  vim main.rs
khuynh@kmbp:~ $
zsh: error on TTY read: Input/output error

[Process completed]


vim --version



VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)


zsh --version



zsh 5.3 (x86_64-apple-darwin18.0)


Any help is appreciated, thanks!



EDIT: solved my issue. was a problem with the rust.vim plugin in my .vimrc










share|improve this question









New contributor



khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    As the title says, zsh crashes when writing to a rust .rs file using vim. It crashes whenever I save the file using :w.



    It never crashes when I edit another filetype (I've tried .c, .js, .py). I'm guessing that it has something to do with some kind of filewatcher. I noticed it while going through the rustlings exercises and have a hunch it has to do with the rustlings watch but I'm having trouble getting rid of this issue.



    The error:



    [1]  + 1858 suspended (tty output)  vim main.rs
    khuynh@kmbp:~ $
    zsh: error on TTY read: Input/output error

    [Process completed]


    vim --version



    VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)


    zsh --version



    zsh 5.3 (x86_64-apple-darwin18.0)


    Any help is appreciated, thanks!



    EDIT: solved my issue. was a problem with the rust.vim plugin in my .vimrc










    share|improve this question









    New contributor



    khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      As the title says, zsh crashes when writing to a rust .rs file using vim. It crashes whenever I save the file using :w.



      It never crashes when I edit another filetype (I've tried .c, .js, .py). I'm guessing that it has something to do with some kind of filewatcher. I noticed it while going through the rustlings exercises and have a hunch it has to do with the rustlings watch but I'm having trouble getting rid of this issue.



      The error:



      [1]  + 1858 suspended (tty output)  vim main.rs
      khuynh@kmbp:~ $
      zsh: error on TTY read: Input/output error

      [Process completed]


      vim --version



      VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)


      zsh --version



      zsh 5.3 (x86_64-apple-darwin18.0)


      Any help is appreciated, thanks!



      EDIT: solved my issue. was a problem with the rust.vim plugin in my .vimrc










      share|improve this question









      New contributor



      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      As the title says, zsh crashes when writing to a rust .rs file using vim. It crashes whenever I save the file using :w.



      It never crashes when I edit another filetype (I've tried .c, .js, .py). I'm guessing that it has something to do with some kind of filewatcher. I noticed it while going through the rustlings exercises and have a hunch it has to do with the rustlings watch but I'm having trouble getting rid of this issue.



      The error:



      [1]  + 1858 suspended (tty output)  vim main.rs
      khuynh@kmbp:~ $
      zsh: error on TTY read: Input/output error

      [Process completed]


      vim --version



      VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)


      zsh --version



      zsh 5.3 (x86_64-apple-darwin18.0)


      Any help is appreciated, thanks!



      EDIT: solved my issue. was a problem with the rust.vim plugin in my .vimrc







      shell zsh vim






      share|improve this question









      New contributor



      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 32 mins ago







      khuynh













      New contributor



      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 46 mins ago









      khuynhkhuynh

      12 bronze badges




      12 bronze badges




      New contributor



      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Found the issue, it seemed to be an issue in my .vimrc, specifically with the rust.vim plugin.



          In my .vimrc, I commented out the plugin and editing .rs files no longer crashes my shell!



          Plug 'scrooloose/nerdtree'
          " rust plugin crashes zsh when writing .rs files
          " Plug 'rust-lang/rust.vim'





          share|improve this answer








          New contributor



          khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            khuynh is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530566%2fzsh-crashing-when-editing-rs-files-only%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Found the issue, it seemed to be an issue in my .vimrc, specifically with the rust.vim plugin.



            In my .vimrc, I commented out the plugin and editing .rs files no longer crashes my shell!



            Plug 'scrooloose/nerdtree'
            " rust plugin crashes zsh when writing .rs files
            " Plug 'rust-lang/rust.vim'





            share|improve this answer








            New contributor



            khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              Found the issue, it seemed to be an issue in my .vimrc, specifically with the rust.vim plugin.



              In my .vimrc, I commented out the plugin and editing .rs files no longer crashes my shell!



              Plug 'scrooloose/nerdtree'
              " rust plugin crashes zsh when writing .rs files
              " Plug 'rust-lang/rust.vim'





              share|improve this answer








              New contributor



              khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                Found the issue, it seemed to be an issue in my .vimrc, specifically with the rust.vim plugin.



                In my .vimrc, I commented out the plugin and editing .rs files no longer crashes my shell!



                Plug 'scrooloose/nerdtree'
                " rust plugin crashes zsh when writing .rs files
                " Plug 'rust-lang/rust.vim'





                share|improve this answer








                New contributor



                khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Found the issue, it seemed to be an issue in my .vimrc, specifically with the rust.vim plugin.



                In my .vimrc, I commented out the plugin and editing .rs files no longer crashes my shell!



                Plug 'scrooloose/nerdtree'
                " rust plugin crashes zsh when writing .rs files
                " Plug 'rust-lang/rust.vim'






                share|improve this answer








                New contributor



                khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                share|improve this answer



                share|improve this answer






                New contributor



                khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                answered 33 mins ago









                khuynhkhuynh

                12 bronze badges




                12 bronze badges




                New contributor



                khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




                New contributor




                khuynh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.
























                    khuynh is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    khuynh is a new contributor. Be nice, and check out our Code of Conduct.













                    khuynh is a new contributor. Be nice, and check out our Code of Conduct.












                    khuynh is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530566%2fzsh-crashing-when-editing-rs-files-only%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...