zsh-sytnax-highlighting

This commit is contained in:
Fred Klassen 2023-02-21 12:23:45 -08:00
commit 389615df11
No known key found for this signature in database
GPG key ID: E9E2149793BDE17E
4 changed files with 18 additions and 8 deletions

3
.gitmodules vendored
View file

@ -7,3 +7,6 @@
[submodule "plugins/zsh-autosuggestions"]
path = plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions.git
[submodule "plugins/zsh-syntax-highlighting"]
path = plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting.git

View file

@ -46,7 +46,7 @@ Linux
* install some terminal tools
```(shell)
sudo apt install curl exa fasd fzf thefuck tmux vim-nox
sudo apt install curl exa fasd fzf ruby-full thefuck tmux vim-nox
```
* install [Tilex](https://gnunn1.github.io/tilix-web/)
@ -177,7 +177,7 @@ Post install
There are a few things that can make things even better
* set up GIT configuration
* `cd && ln -s ~/.oh-my-zsh/plugins/gitconfig .gitconfig`
* `cd && ln -s ~/.oh-my-zsh/template/gitconfig .gitconfig`
* create a `~/.gitconfig.user` for user-specific GIT settings
```(shell)
@ -189,15 +189,12 @@ There are a few things that can make things even better
```
* create ~/.inputrc
```(shell)
set editing-mode vi
set bell-style none
```
* `cd && ln -s ~/.oh-my-zsh/template/inputrc .inputrc`
* if tmux is installed install tmux config [Oh My Tmux](https://github.com/gpakosz/.tmux)
* install vim config [SpaceVim](https://spacevim.org/)
* install Mosh replacement [Eternal Terminal](https://eternalterminal.dev/)
* install colorls
* `sudo gem install colorls`
* on macOS
* install macVIM via `brew install macvim`
* if you don't like Gruv Box, you may want to install some colour themes for iTerm2

@ -0,0 +1 @@
Subproject commit 754cefe0181a7acd42fdcb357a67d0217291ac47

View file

@ -121,6 +121,7 @@ plugins=(
web-search
zsh-autosuggestions
zsh-interactive-cd
zsh-syntax-highlighting
)
# Linux only optional plugins
@ -193,6 +194,14 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias gnb='git nb' # new branch aka checkout -b
alias gdtl='git difftool --no-prompt'
if [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
if [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
# Other custom config
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh