fix(shell): update paths, add missing deps

This commit is contained in:
2023-09-29 20:46:46 +03:00
parent 4b45c89a90
commit 39ecd0495c
5 changed files with 29 additions and 25 deletions

View File

@@ -3,12 +3,11 @@
# Defaults
export DOTFILES="$HOME/.dotfiles"
export DOTFILES_SHARED_LOADED=""
# shellcheck source=scripts/shared.sh
source "$DOTFILES/scripts/shared.sh"
path_prepend "$DOTFILES/local/bin"
x-load-configs
$DOTFILES/local/bin/x-load-configs
# Import ssh keys in keychain
ssh-add -A 2>/dev/null

View File

@@ -9,7 +9,7 @@ path_prepend "$DOTFILES/local/bin"
export COMPLETION_WAITING_DOTS=true
x-load-configs
$DOTFILES/local/bin/x-load-configs
export ZSH_CUSTOM_COMPLETION_PATH="$XDG_CONFIG_HOME/zsh/completion"
x-dc "$ZSH_CUSTOM_COMPLETION_PATH"
@@ -51,13 +51,6 @@ antigen bundle jreese/zsh-titles
antigen bundle unixorn/autoupdate-antigen.zshplugin
antigen bundle zsh-users/zsh-completions
# prettier history search
antigen bundle zsh-history-substring-search
bindkey "${terminfo[kcuu1]}" history-substring-search-up
bindkey "${terminfo[kcud1]}" history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
# these should be available if there's need
have brew && antigen bundle brew
have php && antigen bundle php