Skip to content

Instantly share code, notes, and snippets.

@itzderr
Last active September 6, 2025 02:57
Show Gist options
  • Select an option

  • Save itzderr/abdb2cdd795a23bc36e6a7838e388867 to your computer and use it in GitHub Desktop.

Select an option

Save itzderr/abdb2cdd795a23bc36e6a7838e388867 to your computer and use it in GitHub Desktop.

Revisions

  1. itzderr revised this gist May 2, 2018. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,16 @@
    ## Step 1: Installation

    Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    ```$ brew install python3```

    `$ brew install python3`

    Install powerline via pip (python package manager)

    ```$ pip3 install powerline-status```
    `$ pip3 install powerline-status`

    Find the location

    ```$ pip3 show powerline-status```
    `$ pip3 show powerline-status`

    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    @@ -18,7 +19,8 @@ Find the location
    To activate powerline, you need to source powerline.sh in your .bash_profile

    Open up your .bash_profile in Vim or any editor
    ```$ vim ~/.bash_profile```

    `$ vim ~/.bash_profile`

    Paste this code into your .bash_profile
    ```bash
  2. itzderr revised this gist May 2, 2018. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,15 @@
    ## Step 1: Installation

    Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

    `$ brew install python3`
    ```$ brew install python3```

    Install powerline via pip (python package manager)

    `$ pip3 install powerline-status`
    ```$ pip3 install powerline-status```

    Find the location

    `$ pip3 show powerline-status`
    ```$ pip3 show powerline-status```

    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    @@ -19,7 +18,7 @@ Find the location
    To activate powerline, you need to source powerline.sh in your .bash_profile

    Open up your .bash_profile in Vim or any editor
    `$ vim ~/.bash_profile`
    ```$ vim ~/.bash_profile```

    Paste this code into your .bash_profile
    ```bash
  3. itzderr revised this gist May 2, 2018. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,17 @@
    ## Step 1: Installation

    Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

    `$ brew install python3`

    Install powerline via pip (python package manager)

    `$ pip3 install powerline-status`

    Find the location

    `$ pip3 show powerline-status`

    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    ## Step 2: Configuration
  4. itzderr revised this gist May 2, 2018. 1 changed file with 7 additions and 10 deletions.
    17 changes: 7 additions & 10 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,23 @@
    ## Step 1: Installation

    **Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)**

    Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    `$ brew install python3`

    **Install powerline via pip (python package manager)**

    Install powerline via pip (python package manager)
    `$ pip3 install powerline-status`

    **Find the location**

    Find the location
    `$ pip3 show powerline-status`
    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    ## Step 2: Configuration

    **To activate powerline, you need to source powerline.sh in your .bash_profile**
    To activate powerline, you need to source powerline.sh in your .bash_profile

    **Open up your .bash_profile in Vim or any editor**
    Open up your .bash_profile in Vim or any editor
    `$ vim ~/.bash_profile`

    **Paste this code into your .bash_profile**
    Paste this code into your .bash_profile
    ```bash
    # Powerline
    powerline-daemon -q
    @@ -29,7 +26,7 @@ POWERLINE_BASH_SELECT=1
    source /usr/local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
    ```

    **Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.**
    Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.
    ```bash
    $ mkdir ~/.config/powerline
    $ cp -r /usr/local/lib/python3.6/site-packages/powerline/config_files/ ~/.config/powerline/
  5. itzderr revised this gist May 2, 2018. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,26 @@
    ## Step 1: Installation

    *Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)*
    **Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)**

    `$ brew install python3`

    *Install powerline via pip (python package manager)*
    **Install powerline via pip (python package manager)**

    `$ pip3 install powerline-status`

    3. Find the location
    **Find the location**

    `$ pip3 show powerline-status`
    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    ## Step 2: Configuration

    To activate powerline, you need to source powerline.sh in your .bash_profile
    **To activate powerline, you need to source powerline.sh in your .bash_profile**

    1. Open up your .bash_profile in Vim or any editor
    **Open up your .bash_profile in Vim or any editor**
    `$ vim ~/.bash_profile`

    2. Paste this code into your .bash_profile
    **Paste this code into your .bash_profile**
    ```bash
    # Powerline
    powerline-daemon -q
    @@ -29,7 +29,7 @@ POWERLINE_BASH_SELECT=1
    source /usr/local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
    ```

    Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.
    **Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.**
    ```bash
    $ mkdir ~/.config/powerline
    $ cp -r /usr/local/lib/python3.6/site-packages/powerline/config_files/ ~/.config/powerline/
  6. itzderr revised this gist May 2, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    ## Step 1: Installation

    1. Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    *Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)*

    `$ brew install python3`

    2. Install powerline via pip (python package manager)
    *Install powerline via pip (python package manager)*

    `$ pip3 install powerline-status`

  7. itzderr revised this gist May 2, 2018. 1 changed file with 7 additions and 6 deletions.
    13 changes: 7 additions & 6 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    ## Step 1: Installation

    - Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    1. Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

    `$ brew install python3`

    - Install powerline via pip (python package manager)
    2. Install powerline via pip (python package manager)

    `$ pip3 install powerline-status`

    - Find the location
    3. Find the location

    `$ pip3 show powerline-status`
    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*
    @@ -17,19 +17,20 @@

    To activate powerline, you need to source powerline.sh in your .bash_profile

    - Open up your .bash_profile in Vim or any editor
    1. Open up your .bash_profile in Vim or any editor
    `$ vim ~/.bash_profile`

    - Paste this code into your .bash_profile
    2. Paste this code into your .bash_profile
    ```bash
    # Powerline
    powerline-daemon -q
    POWERLINE_BASH_CONTINUATION=1
    POWERLINE_BASH_SELECT=1
    source /usr/local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
    ```

    Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.
    ```bash
    $ mkdir ~/.config/powerline
    $ cp -r /usr/local/lib/python3.6/site-packages/powerline/config_files/ ~/.config/powerline/
    ```
    ```
  8. itzderr revised this gist May 2, 2018. 1 changed file with 7 additions and 4 deletions.
    11 changes: 7 additions & 4 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,23 +1,26 @@
    ## Step 1: Installation

    - Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

    `$ brew install python3`

    - Install powerline via pip (python package manager)

    `$ pip3 install powerline-status`

    ### Find the location
    - Find the location

    `$ pip3 show powerline-status`
    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    ## Step 2: Configuration

    ### To activate powerline, you need to source powerline.sh in your .bash_profile
    To activate powerline, you need to source powerline.sh in your .bash_profile

    ### Open up your .bash_profile in Vim or any editor
    - Open up your .bash_profile in Vim or any editor
    `$ vim ~/.bash_profile`

    ### Paste this code into your .bash_profile
    - Paste this code into your .bash_profile
    ```bash
    # Powerline
    powerline-daemon -q
  9. itzderr revised this gist May 2, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    ## Step 1: Installation

    ### Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    - Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    `$ brew install python3`

    ### Install powerline via pip (python package manager)
    - Install powerline via pip (python package manager)
    `$ pip3 install powerline-status`

    ### Find the location
  10. itzderr renamed this gist May 2, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  11. itzderr created this gist May 2, 2018.
    32 changes: 32 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    ## Step 1: Installation

    ### Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)
    `$ brew install python3`

    ### Install powerline via pip (python package manager)
    `$ pip3 install powerline-status`

    ### Find the location
    `$ pip3 show powerline-status`
    *It shows that the powerline-status is installed at `/usr/local/lib/python3.6/site-packages`*

    ## Step 2: Configuration

    ### To activate powerline, you need to source powerline.sh in your .bash_profile

    ### Open up your .bash_profile in Vim or any editor
    `$ vim ~/.bash_profile`

    ### Paste this code into your .bash_profile
    ```bash
    # Powerline
    powerline-daemon -q
    POWERLINE_BASH_CONTINUATION=1
    POWERLINE_BASH_SELECT=1
    source /usr/local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
    ```
    Now, create a configuration directory for powerline in your home directory and copy the config_files/ directory from the powerline direcory.
    ```bash
    $ mkdir ~/.config/powerline
    $ cp -r /usr/local/lib/python3.6/site-packages/powerline/config_files/ ~/.config/powerline/
    ```