Missing .bashrc when building gulp environment in macOS

Asked 2 years ago, Updated 2 years ago, 91 views

I am building an environment using gulp.

$touch.bash_profile
$ touch.bashrc

You can find the .bash_profile file in the home folder, but
File not found for .bashrc.

Is it possible to create it without using the command?
The OS will be the latest mac OS Monterey

macos bash gulp zsh

2022-09-30 15:51

1 Answers

You can find the .bash_profile file in the home folder, but
File not found for .bashrc.

Before that, the default shell for recent MacOS terminals is zsh.
Check the contents of the environment variable SHELL.

 through $echo$SHELL
/bin/zsh

For zsh, the configuration files are .zprofile and .zshrc.


2022-09-30 15:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.