You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#. Run ``~/.bash_it/install.sh`` (it automatically backs up your ``~/.bash_profile`` or ``~/.bashrc``\ , depending on your OS)
10
-
#. Edit your modified config (\ ``~/.bash_profile`` or ``~/.bashrc``\ ) file in order to customize Bash-it.
9
+
#. Run ``~/.bash_it/install.sh`` (it automatically backs up your ``~/.bashrc`` or ``~/.bashrc``\ , depending on your OS)
10
+
#. Edit your modified config (\ ``~/.bashrc`` or ``~/.bashrc``\ ) file in order to customize Bash-it.
11
11
#. Check out available aliases, completions, and plugins and enable the ones you want to use (see the next section for more details).
12
12
13
13
Install Options
@@ -18,7 +18,7 @@ The install script can take the following options:
18
18
19
19
* ``--interactive``\ : Asks the user which aliases, completions and plugins to enable.
20
20
* ``--silent``\ : Ask nothing and install using default settings.
21
-
* ``--no-modify-config``\ : Do not modify the existing config file (\ ``~/.bash_profile`` or ``~/.bashrc``\ ).
21
+
* ``--no-modify-config``\ : Do not modify the existing config file (\ ``~/.bashrc`` or ``~/.bashrc``\ ).
22
22
* ``--append-to-config``\ : Back up existing config file and append bash-it templates at the end.
23
23
24
24
When run without the ``--interactive`` switch, Bash-it only enables a sane default set of functionality to keep your shell clean and to avoid issues with missing dependencies.
@@ -28,11 +28,11 @@ When you run without the ``--no-modify-config`` switch, the Bash-it installer au
28
28
Use the ``--no-modify-config`` switch to avoid unwanted modifications, e.g. if your Bash config file already contains the code that loads Bash-it.
29
29
30
30
**NOTE**\ : Keep in mind how Bash loads its configuration files,
31
-
``.bash_profile`` for login shells (and in macOS in terminal emulators like `Terminal.app <http://www.apple.com/osx/apps/>`_ or
31
+
``.bashrc`` for login shells (and in macOS in terminal emulators like `Terminal.app <http://www.apple.com/osx/apps/>`_ or
32
32
`iTerm2 <https://www.iterm2.com/>`_\ ) and ``.bashrc`` for interactive shells (default mode in most of the GNU/Linux terminal emulators),
33
33
to ensure that Bash-it is loaded correctly.
34
-
A good "practice" is sourcing ``.bashrc`` into ``.bash_profile`` to keep things working in all the scenarios.
35
-
To achieve this, you can add this snippet in your ``.bash_profile``\ :
34
+
A good "practice" is sourcing ``.bashrc`` into ``.bashrc`` to keep things working in all the scenarios.
35
+
To achieve this, you can add this snippet in your ``.bashrc``\ :
Copy file name to clipboardExpand all lines: docs/themes-list/atomic.rst
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ Automatically via terminal
36
36
37
37
38
38
#. You can install the theme automatically using the ``sed`` command from your Linux or OSX Terminal.
39
-
#. On macOS, the ~/.bash_profile is used, not the ~/.bashrc.
40
39
#. For installation on windows you should use `\ ``Git-Bash`` <https://git-for-windows.github.io/>`_ or make sure the terminal emulator you use (ej: cygwin, mintty, etc) has the ``sed`` command installed.
41
40
42
41
Command to execute For Windows and Linux:
@@ -51,7 +50,7 @@ Command to execute for macOS:
51
50
.. code-block:: bash
52
51
53
52
# Set the "atomic" theme replacing the theme you are using of bash-it
54
-
sed -i '''s/'"$BASH_IT_THEME"'/atomic/g'~/.bash_profile
Copy file name to clipboardExpand all lines: docs/themes-list/powerline-base.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ all powerline themes.
8
8
9
9
**IMPORTANT:** This theme requires that `a font with the Powerline symbols <https://github.com/powerline/fonts>`_ needs to be used in your terminal emulator, otherwise the prompt won't be displayed correctly, i.e. some of the additional icons and characters will be missing. Please follow your operating system's instructions to install one of the fonts from the above link and select it in your terminal emulator.
10
10
11
-
**NOTICE:** The default behavior of this theme assumes that you have sudo privileges on your workstation. If that is not the case (e.g. if you are running on a corporate network where ``sudo`` usage is tracked), you can set the flag 'export THEME_CHECK_SUDO=false' in your ``~/.bashrc`` or ``~/.bash_profile`` to disable the Powerline theme's ``sudo`` check. This will apply to all ``powerline*`` themes.
11
+
**NOTICE:** The default behavior of this theme assumes that you have sudo privileges on your workstation. If that is not the case (e.g. if you are running on a corporate network where ``sudo`` usage is tracked), you can set the flag 'export THEME_CHECK_SUDO=false' in your ``~/.bashrc`` to disable the Powerline theme's ``sudo`` check. This will apply to all ``powerline*`` themes.
Copy file name to clipboardExpand all lines: docs/vcs_user.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Turn version control checking off to prevent slow directory navigation within la
10
10
Controlling Flags
11
11
^^^^^^^^^^^^^^^^^
12
12
13
-
Bash-it provides a flag (\ ``SCM_CHECK``\ ) within the ``~/.bash_profile`` file that turns off/on version control information checking and display within all themes.
13
+
Bash-it provides a flag (\ ``SCM_CHECK``\ ) within the ``~/.bashrc`` file that turns off/on version control information checking and display within all themes.
14
14
Version control checking is on by default unless explicitly turned off.
15
15
16
16
Set ``SCM_CHECK`` to 'false' to **turn off** version control checks for all themes:
0 commit comments