Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save linuxpld/96d0c5df1acbe7aee1670c8761b080a6 to your computer and use it in GitHub Desktop.
Save linuxpld/96d0c5df1acbe7aee1670c8761b080a6 to your computer and use it in GitHub Desktop.

Revisions

  1. @480 480 revised this gist Apr 9, 2020. 1 changed file with 18 additions and 4 deletions.
    22 changes: 18 additions & 4 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -15,9 +15,6 @@ https://github.com/powerline/fonts
    https://www.nerdfonts.com/font-downloads
    > recommend font: Hack Nerd Font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
    ### Download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    ### Change settings for vscode

    #### How?
    @@ -59,4 +56,21 @@ ps. This JSON type is `JSON with Comments`, so you can use comment syntax in it.
    ### Change Theme for Mac OSX Terminal to agnoster
    1. Add DEFAULT_USER=`whoami` in `~/.zshrc`
    1. Change Theme to `agnoster` in `~/.zshrc`
    1. Restart Terminal or `source ~/.zshrc`
    1. Restart Terminal or `source ~/.zshrc`
    ### Download `agnoster` theme and set up
    1. Download
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    2. Unzip
    3. Open Mac Terminal
    4. `CMD` + `,` open settings
    5. on Left Sidebar, Click `Config` Icon and Select `Import...`
    6. Choose Terminal Schema:
    `UnzipPath/terminal/*.terminal`
    7. I recommend `Solarized Dark.terminal`
    8. then, make it default (select imported schema and click "Default" button below)
    9. That'all. if you restart terminal, you can see great `agnoster` theme with oh my zsh.


  2. @480 480 revised this gist Apr 9, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,7 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    4. Add or Edit below settings to Settings JSON file
    5. Save.
    6. That's all

    ps. This JSON type is `JSON with Comments`, so you can use comment syntax in it.

    ```sh
  3. @480 480 revised this gist Apr 9, 2020. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,16 @@ https://www.nerdfonts.com/font-downloads
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    ### Change settings for vscode

    #### How?
    1. open vscode
    2. open Command Pallete (Short Cut: `F1`)
    3. type `settings` and Select `Preferences: Open Settings (JSON)`
    4. Add or Edit below settings to Settings JSON file
    5. Save.
    6. That's all
    ps. This JSON type is `JSON with Comments`, so you can use comment syntax in it.

    ```sh
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"
  4. @480 480 revised this gist Apr 9, 2020. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -11,8 +11,9 @@ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.
    ### Install powerline fonts
    https://github.com/powerline/fonts

    ### or Install Nerd Fonts.
    ### or Install Nerd Fonts. (If you don't use powerline fonts)
    https://www.nerdfonts.com/font-downloads
    > recommend font: Hack Nerd Font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
    ### Download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    @@ -44,6 +45,7 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    // "terminal.integrated.rendererType": "canvas"
    ```
    1. Change Theme for Mac OSX Terminal to agnoster
    ### Change Theme for Mac OSX Terminal to agnoster
    1. Add DEFAULT_USER=`whoami` in `~/.zshrc`
    1. Change Theme to `agnoster` in `~/.zshrc`
    1. Restart Terminal or `source ~/.zshrc`
  5. @480 480 revised this gist Apr 9, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,9 @@ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.
    ### Install powerline fonts
    https://github.com/powerline/fonts

    ### or Install Nerd Fonts.
    https://www.nerdfonts.com/font-downloads

    ### Download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

  6. @480 480 revised this gist Jan 30, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    http://ohmyz.sh/

    ```sh
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    ```

    ### Install powerline fonts
  7. @480 480 revised this gist Jan 30, 2020. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -11,10 +11,10 @@ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/i
    ### Install powerline fonts
    https://github.com/powerline/fonts

    ### download agnoster theme
    ### Download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    ### change setting for vs code
    ### Change settings for vscode
    ```sh
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"
    @@ -41,6 +41,6 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    // "terminal.integrated.rendererType": "canvas"
    ```
    1. change theme for Mac OSX Terminal to agnoster
    1. add DEFAULT_USER=`whoami` in `~/.zshrc`
    1. change theme to `agnoster` in `~/.zshrc`
    1. Change Theme for Mac OSX Terminal to agnoster
    1. Add DEFAULT_USER=`whoami` in `~/.zshrc`
    1. Change Theme to `agnoster` in `~/.zshrc`
  8. @480 480 revised this gist Jan 30, 2020. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -19,14 +19,25 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"

    // @Drakal added
    // I'd also consider adjusting line height if icons are cut off on top too or things look super cramped.
    // "terminal.integrated.lineHeight": 1.3
    // @ChongTang, @ramonsantos added
    // @gaochundong said it works like a charm.
    // "terminal.integrated.fontFamily": "Hack Nerd Font"
    // @dalekurt added (belows which gives me the the fonts for the terminal and the icons from Nerd Font.)
    // "terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'
    // @nickhingston , @olivebay added for powerlevel10k
    // I use powerline10k - which uses https://github.com/romkatv/powerlevel10k/#recommended-meslo-nerd-font-patched-for-powerlevel10k
    // so this worked for me:
    // "terminal.integrated.fontFamily": "MesloLGS NF"
    // @kaustuv added
    // after the changing the font, still had some issues with the glyph spacing in the integrated terminal - fixed it with
    // @ar2zee : fixed the problem for me.
    // "terminal.integrated.rendererType": "canvas"
    ```
  9. @480 480 revised this gist Sep 19, 2019. 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,17 +1,20 @@
    1. Install oh my zsh
    ## MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings
    > Thank you everybody, Your comments makes it better
    ### Install oh my zsh
    http://ohmyz.sh/

    ```sh
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    1. Install powerline fonts
    ### Install powerline fonts
    https://github.com/powerline/fonts

    1. download agnoster theme
    ### download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    1. change setting for vs code
    ### change setting for vs code
    ```sh
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"
    @@ -28,7 +31,5 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    ```
    1. change theme for Mac OSX Terminal to agnoster
    1. add DEFAULT_USER=`whoami` in `~/.zshrc`
    1. change theme to `agnoster` in `~/.zshrc`
  10. @480 480 revised this gist Sep 19, 2019. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,16 @@ https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
    ```sh
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"

    // @ChongTang, @ramonsantos added
    // "terminal.integrated.fontFamily": "Hack Nerd Font"

    // @dalekurt added (belows which gives me the the fonts for the terminal and the icons from Nerd Font.)
    // "terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'
    // @kaustuv added
    // after the changing the font, still had some issues with the glyph spacing in the integrated terminal - fixed it with
    // "terminal.integrated.rendererType": "canvas"
    ```
    1. change theme for Mac OSX Terminal to agnoster
  11. @480 480 revised this gist Sep 19, 2019. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    1. Install oh my zsh

    http://ohmyz.sh/
    $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    ```sh
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ```

    1. Install powerline fonts
    https://github.com/powerline/fonts
    @@ -10,7 +12,7 @@ https://github.com/powerline/fonts
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    1. change setting for vs code
    ```
    ```sh
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"
    ```
  12. @480 480 renamed this gist Sep 19, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  13. @480 480 created this gist Oct 16, 2017.
    22 changes: 22 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    1. Install oh my zsh

    http://ohmyz.sh/
    $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    1. Install powerline fonts
    https://github.com/powerline/fonts

    1. download agnoster theme
    https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master

    1. change setting for vs code
    ```
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "terminal.integrated.shell.osx": "/bin/zsh"
    ```

    1. change theme for Mac OSX Terminal to agnoster

    1. add DEFAULT_USER=`whoami` in `~/.zshrc`

    1. change theme to `agnoster` in `~/.zshrc`