Added ZSH plugins
This commit is contained in:
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -19,3 +19,9 @@
|
||||
[submodule "tmux/.tmux/plugins/tmux"]
|
||||
path = tmux/.tmux/plugins/tmux
|
||||
url = https://github.com/catppuccin/tmux.git
|
||||
[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions"]
|
||||
path = zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||
url = https://github.com/zsh-users/zsh-autosuggestions.git
|
||||
[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"]
|
||||
path = zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
|
||||
3
zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh
Normal file
3
zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh
Normal file
@@ -0,0 +1,3 @@
|
||||
# Add your own custom plugins in the custom/plugins directory. Plugins placed
|
||||
# here will override ones with the same name in the main plugins directory.
|
||||
# See: https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#overriding-and-adding-plugins
|
||||
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions added at 85919cd1ff
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting added at 5eb677bb0f
17
zsh/.zshrc
17
zsh/.zshrc
@@ -79,8 +79,10 @@ plugins=(
|
||||
gitignore
|
||||
mise
|
||||
zoxide
|
||||
zsh-autosuggestions
|
||||
zsh-interactive-cd
|
||||
zsh-navigation-tools
|
||||
zsh-syntax-highlighting
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
@@ -118,18 +120,3 @@ fpath=(~/.zsh $fpath)
|
||||
|
||||
autoload run-help
|
||||
autoload -Uz compinit && compinit -u
|
||||
|
||||
case $(uname -s) in
|
||||
"Darwin")
|
||||
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
|
||||
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
|
||||
;;
|
||||
"Linux")
|
||||
export ZSH_HIGHLIGHT_DIR=/usr/share/zsh-syntax-highlighting
|
||||
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/share/zsh-syntax-highlighting/highlighters
|
||||
export ZSH_AUTOSUGGESTIONS_DIR=/usr/share/zsh-autosuggestions
|
||||
;;
|
||||
esac
|
||||
|
||||
source "$ZSH_HIGHLIGHT_DIR/zsh-syntax-highlighting.zsh"
|
||||
source "$ZSH_AUTOSUGGESTIONS_DIR/zsh-autosuggestions.zsh"
|
||||
|
||||
Reference in New Issue
Block a user