please do not ignore custom functions and completions
This commit is contained in:
parent
3477ff2527
commit
c8ba7cab32
16
oh-my-zsh.sh
16
oh-my-zsh.sh
@ -5,14 +5,6 @@ fi
|
|||||||
|
|
||||||
# Initializes Oh My Zsh
|
# Initializes Oh My Zsh
|
||||||
|
|
||||||
# add a function path
|
|
||||||
fpath=($ZSH/functions $ZSH/completions $fpath)
|
|
||||||
|
|
||||||
# Load all stock functions (from $fpath files) called below.
|
|
||||||
autoload -U compaudit compinit
|
|
||||||
|
|
||||||
: ${ZSH_DISABLE_COMPFIX:=true}
|
|
||||||
|
|
||||||
# Set ZSH_CUSTOM to the path where your custom config files
|
# Set ZSH_CUSTOM to the path where your custom config files
|
||||||
# and plugins exists, or else we will use the default custom/
|
# and plugins exists, or else we will use the default custom/
|
||||||
if [[ -z "$ZSH_CUSTOM" ]]; then
|
if [[ -z "$ZSH_CUSTOM" ]]; then
|
||||||
@ -25,6 +17,14 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
|||||||
ZSH_CACHE_DIR="$ZSH/cache"
|
ZSH_CACHE_DIR="$ZSH/cache"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# add a function path
|
||||||
|
fpath=($ZSH/functions $ZSH/completions $ZSH_CUSTOM/functions $ZSH_CUSTOM/completions $fpath)
|
||||||
|
|
||||||
|
# Load all stock functions (from $fpath files) called below.
|
||||||
|
autoload -U compaudit compinit
|
||||||
|
|
||||||
|
: ${ZSH_DISABLE_COMPFIX:=true}
|
||||||
|
|
||||||
|
|
||||||
# Load all of the config files in ~/oh-my-zsh that end in .zsh
|
# Load all of the config files in ~/oh-my-zsh that end in .zsh
|
||||||
# TIP: Add files you don't want in git to .gitignore
|
# TIP: Add files you don't want in git to .gitignore
|
||||||
|
Loading…
Reference in New Issue
Block a user