zsh syntax highlighting
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|
||||||
|
# set up
|
||||||
|
ln -s /mnt/c/git ~/git
|
||||||
|
|
||||||
|
|
||||||
# # # shell
|
# # # shell
|
||||||
|
|
||||||
# apt
|
# apt
|
||||||
@@ -22,6 +26,10 @@ sudo apt-get install powerline fonts-powerline -y
|
|||||||
# oh my zsh
|
# oh my zsh
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
|
|
||||||
|
# highlighting
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1
|
||||||
|
echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"
|
||||||
|
|
||||||
# spaceship
|
# spaceship
|
||||||
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
|
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
|
||||||
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
|
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
|
||||||
@@ -29,7 +37,7 @@ sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="spaceship"/g' ~/.zshrc
|
|||||||
|
|
||||||
|
|
||||||
# # # dev
|
# # # dev
|
||||||
|
brew install hugo
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|||||||
Reference in New Issue
Block a user