mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
updates
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -1,4 +1,4 @@
|
||||
source ./exports.sh # must run before zsh_init
|
||||
source ./zsh_init.sh
|
||||
source ./aliases.sh
|
||||
source ./sources.sh
|
||||
source $HOME/.dotfiles/exports.sh # must run before zsh_init
|
||||
source $HOME/.dotfiles/zsh_init.sh
|
||||
source $HOME/.dotfiles/aliases.sh
|
||||
source $HOME/.dotfiles/sources.sh
|
||||
|
||||
18
README.md
18
README.md
@@ -1,16 +1,28 @@
|
||||
# .dotfiles
|
||||
|
||||
1. Install [Oh-My-Zsh](https://github.com/ohmyzsh/ohmyzsh)
|
||||
2. Install plugins:
|
||||
2. Clone this repository into `~/.dotfiles`:
|
||||
|
||||
```bash
|
||||
git clone git@github.com:chenasraf/dotfiles.git ~/.dotfiles
|
||||
```
|
||||
|
||||
3. Install plugins:
|
||||
1. [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh)
|
||||
2. [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md#oh-my-zsh)
|
||||
3. Replace contents of `~/.zshrc` with:
|
||||
4. Install fzf:
|
||||
|
||||
```bash
|
||||
brew install fzf
|
||||
```
|
||||
|
||||
5. Replace entire contents of `~/.zshrc` with:
|
||||
|
||||
```bash
|
||||
source "$HOME/.dotfiles/.zshrc"
|
||||
```
|
||||
|
||||
4. Reload zsh:
|
||||
6. Reload zsh:
|
||||
|
||||
```bash
|
||||
source ~/.zshrc
|
||||
|
||||
0
aliases.sh
Normal file → Executable file
0
aliases.sh
Normal file → Executable file
4
exports.sh
Normal file → Executable file
4
exports.sh
Normal file → Executable file
@@ -5,4 +5,6 @@ export PATH="$PATH:$HOME/.flutter-src/bin"
|
||||
export PATH="$PATH:$HOME/.pub-cache/bin"
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/Users/chen/.oh-my-zsh"
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
4
sources.sh
Normal file → Executable file
4
sources.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
[ -f /opt/homebrew/opt/chruby/share/chruby/chruby.sh ] && source /opt/homebrew/opt/chruby/share/chruby/chruby.sh
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh || :
|
||||
[ -f /opt/homebrew/opt/chruby/share/chruby/chruby.sh ] && source /opt/homebrew/opt/chruby/share/chruby/chruby.sh || :
|
||||
0
zsh_init.sh
Normal file → Executable file
0
zsh_init.sh
Normal file → Executable file
Reference in New Issue
Block a user