mirror of
https://github.com/akelge/zsh
synced 2025-08-16 14:48:39 +00:00
Compare commits
6 Commits
minimize
...
4b3ae11f9c
Author | SHA1 | Date | |
---|---|---|---|
4b3ae11f9c | |||
8eb55fb478 | |||
653379ec31 | |||
bb17543bb6 | |||
13ccd1c30d | |||
f13995870e
|
@ -1,6 +1,6 @@
|
||||
#######################################################################################
|
||||
# Start autocomplete
|
||||
autoload -Uz compinit
|
||||
autoload -Uz compinit bashcompinit
|
||||
|
||||
for dump in ~/.zcompdump(N.mh+24); do
|
||||
compinit
|
||||
@ -9,7 +9,7 @@ done
|
||||
|
||||
compinit -C
|
||||
|
||||
autoload bashcompinit && bashcompinit
|
||||
bashcompinit
|
||||
# autoload bashcompinit
|
||||
|
||||
# allow approximate
|
||||
|
@ -1,4 +1,4 @@
|
||||
fpath=($0:h/prompts $fpath)
|
||||
fpath+=$0:h/prompts
|
||||
fpath+=$0:h/prompts/mypure
|
||||
# fpath+=$0:h/prompts/pure
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
https://github.com/sindresorhus/pure.git
|
6
zshrc
6
zshrc
@ -6,11 +6,12 @@
|
||||
#
|
||||
# Global Order: zshenv, zprofile, zshrc, zlogin
|
||||
#
|
||||
#
|
||||
|
||||
# Load zprof if we need to profile startup time
|
||||
# at the bottom of ~/.zshrc add `zprof >! zsh_profile` to save
|
||||
# profiling data at startup
|
||||
zmodload zsh/zprof
|
||||
# zmodload zsh/zprof
|
||||
|
||||
# Default PATH
|
||||
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 KERNEL=`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/completions ] && fpath=($lib/completions $fpath)
|
||||
|
||||
|
Reference in New Issue
Block a user