mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(zsh): add .zshrc file
This commit is contained in:
@@ -4,5 +4,8 @@
|
|||||||
|
|
||||||
- clean: ['~']
|
- clean: ['~']
|
||||||
|
|
||||||
|
- link:
|
||||||
|
~/.zshrc: zshrc
|
||||||
|
|
||||||
- shell:
|
- shell:
|
||||||
- [git submodule update --init --recursive, Installing submodules]
|
- [git submodule update --init --recursive, Installing submodules]
|
||||||
22
README.md
22
README.md
@@ -1,3 +1,25 @@
|
|||||||
# Dotfiles
|
# Dotfiles
|
||||||
|
|
||||||
|
## Homebrew
|
||||||
|
|
||||||
|
Fix the permissions of the target folder.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo chown -R $(whoami) /usr/local/var/
|
||||||
|
```
|
||||||
|
|
||||||
|
Install [Homebrew](https://brew.sh/) package managager.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Starship
|
||||||
|
|
||||||
|
Install a [Nerd Font](https://www.nerdfonts.com/).
|
||||||
|
|
||||||
|
Install [Starship](https://starship.rs/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
brew install starship
|
||||||
|
```
|
||||||
|
|||||||
25
zshrc
Normal file
25
zshrc
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# *** *** Plugins *** ***
|
||||||
|
# ***********************
|
||||||
|
|
||||||
|
# Load Antigen plugin manager
|
||||||
|
source ~/dotfiles/.antigen/antigen.zsh
|
||||||
|
|
||||||
|
# Load the oh-my-zsh library
|
||||||
|
antigen use oh-my-zsh
|
||||||
|
|
||||||
|
# Bundles from the default repo
|
||||||
|
antigen bundle git
|
||||||
|
antigen bundle pip
|
||||||
|
|
||||||
|
# Syntax highlighting bundle
|
||||||
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
|
|
||||||
|
# Tell Antigen that you’re done
|
||||||
|
antigen apply
|
||||||
|
|
||||||
|
# *** *** Shell *** ***
|
||||||
|
# *********************
|
||||||
|
|
||||||
|
# Starship
|
||||||
|
|
||||||
|
eval "$(starship init zsh)"
|
||||||
Reference in New Issue
Block a user