mirror of
https://github.com/Lissy93/dotfiles.git
synced 2025-02-16 23:10:46 +01:00
🔧 Imports helper functions in ZSH
This commit is contained in:
parent
ada73f8b8c
commit
372a68f848
12
zsh/.zshrc
12
zsh/.zshrc
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# Directory for all-things ZSH config
|
# Directory for all-things ZSH config
|
||||||
zsh_dir=${${ZDOTDIR}:-$HOME/.config/zsh}
|
zsh_dir=${${ZDOTDIR}:-$HOME/.config/zsh}
|
||||||
|
utils_dir=~/.config/utils
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
@ -8,12 +9,10 @@ zsh_dir=${${ZDOTDIR}:-$HOME/.config/zsh}
|
|||||||
# Import alias files
|
# Import alias files
|
||||||
source ${zsh_dir}/aliases/general.zsh
|
source ${zsh_dir}/aliases/general.zsh
|
||||||
source ${zsh_dir}/aliases/git.zsh
|
source ${zsh_dir}/aliases/git.zsh
|
||||||
source ${zsh_dir}/aliases/yarn.zsh
|
source ${zsh_dir}/aliases/node-js.zsh
|
||||||
|
|
||||||
# Setup Antigen bundle manager
|
# Setup Antigen, and import plugins
|
||||||
source ${zsh_dir}/helpers/setup-antigen.zsh
|
source ${zsh_dir}/helpers/setup-antigen.zsh
|
||||||
|
|
||||||
# Then import Antigen plugins
|
|
||||||
source ${zsh_dir}/helpers/import-plugins.zsh
|
source ${zsh_dir}/helpers/import-plugins.zsh
|
||||||
|
|
||||||
# Configure ZSH stuff
|
# Configure ZSH stuff
|
||||||
@ -21,8 +20,13 @@ source ${zsh_dir}/lib/history.zsh
|
|||||||
source ${zsh_dir}/lib/colors.zsh
|
source ${zsh_dir}/lib/colors.zsh
|
||||||
source ${zsh_dir}/lib/completion.zsh
|
source ${zsh_dir}/lib/completion.zsh
|
||||||
source ${zsh_dir}/lib/term-title.zsh
|
source ${zsh_dir}/lib/term-title.zsh
|
||||||
|
source ${zsh_dir}/lib/navigation.zsh
|
||||||
source ${zsh_dir}/lib/key-bindings.zsh
|
source ${zsh_dir}/lib/key-bindings.zsh
|
||||||
|
|
||||||
|
# Import utility functions
|
||||||
|
source ${utils_dir}/transfer.sh
|
||||||
|
source ${utils_dir}/hr.sh
|
||||||
|
|
||||||
# Left over tasks
|
# Left over tasks
|
||||||
source ${zsh_dir}/helpers/misc-stuff.zsh
|
source ${zsh_dir}/helpers/misc-stuff.zsh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user