# Can not exit source .bashrc after opening it with vim (vim recording)

**URL:** <https://get-help.theconstruct.ai/t/can-not-exit-source-bashrc-after-opening-it-with-vim-vim-recording/16894>\
**Category:** Linux Basics For Robotics\
**Created:** [April 25, 2022, 9:37pm UTC](https://get-help.theconstruct.ai/t/can-not-exit-source-bashrc-after-opening-it-with-vim-vim-recording/16894 "2022-04-25T21:37:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhakan1can](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/h/c89c15/32.png) [@hhakan1can](https://get-help.theconstruct.ai/u/hhakan1can)\
**Post date:** [April 25, 2022, 9:37pm UTC](https://get-help.theconstruct.ai/t/can-not-exit-source-bashrc-after-opening-it-with-vim-vim-recording/16894/1 "2022-04-25T21:37:32Z")

</div>

Hi there! I was attempting to use source .bashrc, but I can’t get out of the bash script.

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/2/28c7f4b9c790051ea3dd30034c375aa8a4225735.png)

---

<div class="post-metadata">

**Author:** ![Joseph1001](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/joseph1001/32/7077_2.png) [@Joseph1001](https://get-help.theconstruct.ai/u/Joseph1001)\
**Post date:** [April 26, 2022, 3:44am UTC](https://get-help.theconstruct.ai/t/can-not-exit-source-bashrc-after-opening-it-with-vim-vim-recording/16894/2 "2022-04-26T03:44:27Z")

</div>

You can click on the x mark, unique to each shell to close it or alternatively look up this link [What is Vim recording and how can it be disabled? - Stack Overflow](https://stackoverflow.com/questions/1527784/what-is-vim-recording-and-how-can-it-be-disabled), which talked about the problem you are having. You have some somehow enabled recording, which records all that you type.

You start recording by q and you can end it by typing q again. Recording is a really useful feature of Vim. **It records everything you type**. You can then replay it simply by typing @ .  
Let me know if this helped.

---

<div class="post-metadata">

**Author:** ![ralves](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/ralves/32/7039_2.png) [@ralves](https://get-help.theconstruct.ai/u/ralves)\
**Post date:** [April 27, 2022, 12:22pm UTC](https://get-help.theconstruct.ai/t/can-not-exit-source-bashrc-after-opening-it-with-vim-vim-recording/16894/3 "2022-04-27T12:22:46Z")

</div>


