Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/statropy/zsh-macos

zsh configuration for macos based on Kali Linux
https://github.com/statropy/zsh-macos

Last synced: about 2 months ago
JSON representation

zsh configuration for macos based on Kali Linux

Awesome Lists containing this project

README

        

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

# zsh-macos
zsh configuration adapted for macos based on [Kali Linux](https://kali.org) [2020.3 release](https://www.kali.org/news/kali-2020-3-release/)

[![zsh](https://statropy.com/img/banners/zsh-macos.png)](https://statropy.com/blog/kali-linux-zsh-for-macos/)

This .zshrc file uses a similar config as Kali Linux, but also includes git status with the prompt. [Read about the customizations I made.](https://statropy.com/blog/kali-linux-zsh-for-macos/)

## Install

Install the [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting), [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) and [menlo powerline font](https://github.com/powerline/fonts) packages using [Homebrew](https://brew.sh/).

```
brew install zsh-syntax-highlighting zsh-autosuggestions homebrew/cask-fonts/font-menlo-for-powerline
```

Backup the existing `.zshrc` and symlink the .zshrc file from this repo to your home directory.

```
git clone https://github.com/statropy/zsh-macos.git
mv ~/.zshrc ~/.zshrc.orig
ln -s ./zsh-macos/.zshrc ~/.zshrc
```

In the Terminal Preferences for the selected Profile, change the font to `Menlo for Powerline`. Quit and restart Terminal.

To add your own alias or other commands without having to edit `.zshrc`, create a `.alias` file in the home directory. The `.zshrc` file will load it if it exists.