feat: add zsh patch apply script for quicker updates
This commit is contained in:
@@ -42,7 +42,7 @@ sudo apt install \
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/ohmyzsh/ohmyzsh/ $HOME/.oh-my-zsh && cd $HOME/.oh-my-zsh && git apply $HOME/.dots/patches/prompt.patch
|
git clone https://github.com/ohmyzsh/ohmyzsh/ $HOME/.oh-my-zsh && bash $HOME/.dots/apply-zsh-patches.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Extended
|
### Extended
|
||||||
|
|||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
CURRENT=$(pwd)
|
||||||
|
|
||||||
|
cd $HOME/.oh-my-zsh
|
||||||
|
git reset --hard 1> /dev/null
|
||||||
|
git apply $HOME/.dots/patches/*
|
||||||
|
|
||||||
|
cd ${CURRENT}
|
||||||
Reference in New Issue
Block a user