mirror of
https://github.com/akelge/zsh
synced 2025-07-15 02:02:10 +00:00
Compare commits
4 Commits
minimize
...
653379ec31
Author | SHA1 | Date | |
---|---|---|---|
653379ec31 | |||
bb17543bb6 | |||
13ccd1c30d | |||
f13995870e
|
6
zshrc
6
zshrc
@ -6,11 +6,12 @@
|
|||||||
#
|
#
|
||||||
# Global Order: zshenv, zprofile, zshrc, zlogin
|
# Global Order: zshenv, zprofile, zshrc, zlogin
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
|
||||||
# Load zprof if we need to profile startup time
|
# Load zprof if we need to profile startup time
|
||||||
# at the bottom of ~/.zshrc add `zprof >! zsh_profile` to save
|
# at the bottom of ~/.zshrc add `zprof >! zsh_profile` to save
|
||||||
# profiling data at startup
|
# profiling data at startup
|
||||||
zmodload zsh/zprof
|
# zmodload zsh/zprof
|
||||||
|
|
||||||
# Default PATH
|
# Default PATH
|
||||||
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/bin"
|
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/bin"
|
||||||
@ -26,10 +27,9 @@ local BASE="/etc"
|
|||||||
|
|
||||||
|
|
||||||
local LIBRARY=${BASE}/zsh.d
|
local LIBRARY=${BASE}/zsh.d
|
||||||
# local KERNEL=`uname -s`
|
|
||||||
local KERNLIB=${LIBRARY}/$(uname -s)
|
local KERNLIB=${LIBRARY}/$(uname -s)
|
||||||
|
|
||||||
for lib in $LIBRARY $KERNLIB; do
|
for lib in $KERNLIB $LIBRARY; do
|
||||||
[ -d $lib/zshfunctions ] && fpath=($lib/zshfunctions $fpath)
|
[ -d $lib/zshfunctions ] && fpath=($lib/zshfunctions $fpath)
|
||||||
[ -d $lib/completions ] && fpath=($lib/completions $fpath)
|
[ -d $lib/completions ] && fpath=($lib/completions $fpath)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user