Last active
August 12, 2025 14:25
-
Star
(348)
You must be signed in to star a gist -
Fork
(66)
You must be signed in to fork a gist
-
-
Save fworks/af4c896c9de47d827d4caa6fd7154b6b to your computer and use it in GitHub Desktop.
Revisions
-
fworks revised this gist
Mar 15, 2021 . 1 changed file with 11 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,31 +9,35 @@ zsh-5.7.1-1-x86_64.pkg.tar.xz ``` Update: The package now is compacted using `zstd`, so now we need some "special" extractor. So, in my case, I've downloaded this file https://repo.msys2.org/msys/x86_64/zsh-5.8-5-x86_64.pkg.tar.zst And extracted it using the Peazip. https://peazip.github.io/zst-compressed-file-format.html 2) Extract the content to your git bash installation dir: Usually `C:\Program Files\Git` 3) Test it and config zsh: Open git bash and type: ``` zsh ``` So, this step is important, it seems `zsh` will ask a few configurations, like the tab completion, history, etc. Please read the options and set that according to your use. 4) Installing oh-my-zsh, execute the following cmd on git bash ```shell sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ``` 5) Configuring zsh as default shell Edit the `~/.bashrc` file. (create it if it doesn't exist) Add the following lines at the end of the file @@ -49,11 +53,13 @@ Close and open again the git bash. ## Optional steps 6) Installing the Honukay theme ```shell curl -fsSL https://raw.githubusercontent.com/oskarkrawczyk/honukai-iterm/master/honukai.zsh-theme -o ~/.oh-my-zsh/custom/themes/honukai.zsh-theme ``` 7) Set it ```shell sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="honukai"/g' ~/.zshrc ``` -
fworks revised this gist
Mar 15, 2021 . 1 changed file with 17 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,26 +8,33 @@ Example: zsh-5.7.1-1-x86_64.pkg.tar.xz ``` Update: The package now is compacted using `zstd`, so now we need some "special" extractor. So, in my case, I've downloaded this file https://repo.msys2.org/msys/x86_64/zsh-5.8-5-x86_64.pkg.tar.zst And extracted it using the Peazip. https://peazip.github.io/zst-compressed-file-format.html 2) Extract the content to your git bash installation dir: Usually `C:\Program Files\Git` 3) Test it and config zsh: Open git bash and type: ``` zsh ``` So, this step is important, it seems `zsh` will ask a few configurations, like the tab completion, history, etc. Please read the options and set that according to your use. 4) Installing oh-my-zsh, execute the following cmd on git bash ```shell sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ``` 5) Configuring zsh as default shell Edit the `~/.bashrc` file. (create it if it doesn't exist) Add the following lines at the end of the file @@ -41,12 +48,12 @@ Close and open again the git bash. ## Optional steps 6) Installing the Honukay theme ```shell curl -fsSL https://raw.githubusercontent.com/oskarkrawczyk/honukai-iterm/master/honukai.zsh-theme -o ~/.oh-my-zsh/custom/themes/honukai.zsh-theme ``` 7) Set it ```shell sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="honukai"/g' ~/.zshrc ``` -
fworks revised this gist
Feb 5, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ zsh 4) If it start the zsh, it is working fine. `On some cases, there are stranger characters on the cmd line. It will get fixed when installing the oh-my-zsh` 5) Installing oh-my-zsh, execute the following cmd on git bash -
fworks revised this gist
Jan 9, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,7 +39,7 @@ fi ``` Close and open again the git bash. ## Optional steps 7) Installing the Honukay theme ```shell -
fworks renamed this gist
Jan 9, 2020 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,8 +18,8 @@ zsh 4) If it start the zsh, it is working fine. `On some cases, there are stranger characteres on the cmd line. It will get fixed when installing the oh-my-zsh` 5) Installing oh-my-zsh, execute the following cmd on git bash ```shell @@ -37,6 +37,7 @@ if [ -t 1 ]; then exec zsh fi ``` Close and open again the git bash. ## optional steps -
fworks created this gist
Jan 9, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ ## Steps: 1) Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64 Example: ``` zsh-5.7.1-1-x86_64.pkg.tar.xz ``` 2) Extract the content to your git bash installation dir: Usually `C:\Program Files\Git` 3) Test it, open git bash and type: ``` zsh ``` 4) If it start the zsh, it is working fine. `On some cases, there are a stranger characteres on the cmd line. It will get fix when installing the oh-my-zsh` 5) Installing oh-my-zsh, execute the following cmd on git bash ```shell sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ``` 6) Configuring zsh as default shell Edit the `~/.bashrc` file. Add the following lines at the end of the file ``` # Launch Zsh if [ -t 1 ]; then exec zsh fi ``` ## optional steps 7) Installing the Honukay theme ```shell curl -fsSL https://raw.githubusercontent.com/oskarkrawczyk/honukai-iterm/master/honukai.zsh-theme -o ~/.oh-my-zsh/custom/themes/honukai.zsh-theme ``` 8) Set it ```shell sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="honukai"/g' ~/.zshrc ```