Drop zsh plugins from installer
Same deal as fzf, moving away from installing these things as part of the installer and favoring a version installed by the operating system's package manager
This commit is contained in:
parent
703768d712
commit
432ba3144e
2 changed files with 5 additions and 21 deletions
11
install
11
install
|
@ -31,17 +31,6 @@ mkdir -p "$DOTLOCAL"
|
||||||
|
|
||||||
stow git screen vim zsh
|
stow git screen vim zsh
|
||||||
|
|
||||||
ZSHPLUGS=(
|
|
||||||
"zsh-completions"
|
|
||||||
"zsh-history-substring-search"
|
|
||||||
"zsh-syntax-highlighting"
|
|
||||||
)
|
|
||||||
|
|
||||||
for INDEX in ${!ZSHPLUGS[*]}; do
|
|
||||||
ZSHPLUG="${ZSHPLUGS[$INDEX]}"
|
|
||||||
$GITCLONE "https://github.com/zsh-users/$ZSHPLUG.git" "$DOTLOCAL/$ZSHPLUG"
|
|
||||||
done
|
|
||||||
|
|
||||||
VIMPLUGS=(
|
VIMPLUGS=(
|
||||||
# File exploration and navigation
|
# File exploration and navigation
|
||||||
"junegunn/fzf.vim"
|
"junegunn/fzf.vim"
|
||||||
|
|
15
zsh/.zshrc
15
zsh/.zshrc
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
export DOTFILES=$HOME/.dotfiles
|
|
||||||
export INCLUDES=$HOME/.local/share/dotfiles
|
|
||||||
|
|
||||||
# Speed up `brew install`
|
# Speed up `brew install`
|
||||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
|
|
||||||
|
@ -11,9 +8,11 @@ source $HOME/.aliases
|
||||||
|
|
||||||
eval `dircolors $HOME/.dircolors`
|
eval `dircolors $HOME/.dircolors`
|
||||||
|
|
||||||
source $INCLUDES/zsh-completions/zsh-completions.plugin.zsh
|
# TODO: May need to tweak this for macOS/brew installed stuff
|
||||||
source $INCLUDES/zsh-history-substring-search/zsh-history-substring-search.zsh
|
source /usr/share/fzf/completion.zsh
|
||||||
source $INCLUDES/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
|
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||||
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
HISTFILE=$HOME/.zsh_history
|
HISTFILE=$HOME/.zsh_history
|
||||||
HISTSIZE=1000000
|
HISTSIZE=1000000
|
||||||
|
@ -66,10 +65,6 @@ PS1='
|
||||||
%F{blue}%~$(git_prompt)
|
%F{blue}%~$(git_prompt)
|
||||||
%F{244}%# %F{reset}'
|
%F{244}%# %F{reset}'
|
||||||
|
|
||||||
# TODO: May need to tweak this for macOS/brew installed fzf
|
|
||||||
source /usr/share/fzf/key-bindings.zsh
|
|
||||||
source /usr/share/fzf/completion.zsh
|
|
||||||
|
|
||||||
# Only autoload nvm on a specific machine, default to lazy loading
|
# Only autoload nvm on a specific machine, default to lazy loading
|
||||||
# TODO: Maybe drop the lazy loading entirely as I never use nvm outside of work?
|
# TODO: Maybe drop the lazy loading entirely as I never use nvm outside of work?
|
||||||
if [[ $(hostname) == "x1carbon.josh" ]]; then
|
if [[ $(hostname) == "x1carbon.josh" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue