Project holds files to setup shell prompt with same theme as in vim when using vim-airline.
Setup & Usage:
-
When you don't wish to install vim plugins,
- get .shell_prompt.sh locally from
git clone https://github.com/pskpatil/shellprompt.git cp .shell_prompt.sh ~/ echo "source ~/.shell_prompt.sh" >> ~/.bashrc source ~/.shell_prompt.sh
-
When you wish to customize further.
- Following plugins needed to be installed.
- vim-airline [https://github.com/vim-airline/vim-airline]
- vim-airline-themes [https://github.com/vim-airline/vim-airline-themes]
- promptline.vim [https://github.com/edkolev/promptline.vim]
- Refer .vimrc for basic configuration.
vim -c 'PromptlineSnapshot! ~/.shell_prompt.sh' -c ':q' && source ~/.shell_prompt.sh
- Following plugins needed to be installed.
Note: Please do not waste time with WSL terminal - with Windows Terminals (CMD/PowerShell), you will not be able to view UTF-8 Unicode characters and colors there.