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

https://github.com/ctsrc/zshrc


https://github.com/ctsrc/zshrc

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

          

# `~/.zshrc`

This is my `~/.zshrc` for various systems.

## Prerequisities for aliases

### macOS

* `s`, `i`, `u`: Install homebrew from https://brew.sh/
in order to use these aliases.

* `vim`: Install the `neovim` package from homebrew
in order to use this alias.

### FreeBSD

* `vim`: Install the `neovim` package
in order to use this alias.

### KDE Neon, Ubuntu, Debian, etc

* `vim`: Install the `neovim` package
in order to use this alias.

## Installation

### Step 1: Clone repo

Clone repo to `~/src/zshrc`:

```zsh
cd
mkdir -p ~/src/
cd ~/src/
git clone git@github.com:ctsrc/zshrc.git
```

### Step 2: Symlinks

#### macOS

```zsh
ln -s src/zshrc/macOS.zshrc ~/.zshrc
ln -s src/zshrc/macOS.zshenv ~/.zshenv
ln -s src/zshrc/macOS.curlrc ~/.curlrc
ln -s src/zshrc/macOS.gitconfig ~/.gitconfig
mkdir -p ~/.cargo/
ln -s src/zshrc/macOS.cargo/config ~/.cargo/config
```

#### FreeBSD

```zsh
ln -s src/zshrc/FreeBSD.zshrc ~/.zshrc
ln -s src/zshrc/FreeBSD.zshenv ~/.zshenv
```

#### Linux

##### KDE Neon, Ubuntu, Debian, etc

```zsh
ln -s src/zshrc/debian-family.zshrc ~/.zshrc
ln -s src/zshrc/debian-family.zshenv ~/.zshenv
ln -s src/zshrc/debian-family.gitconfig ~/.gitconfig
```