https://github.com/ctsrc/zshrc
https://github.com/ctsrc/zshrc
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctsrc/zshrc
- Owner: ctsrc
- Created: 2021-09-28T21:57:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-27T04:42:35.000Z (2 months ago)
- Last Synced: 2026-01-27T16:01:21.495Z (2 months ago)
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```