mirror of
https://github.com/akelge/zsh
synced 2025-08-17 14:58:50 +00:00
Compare commits
4 Commits
minimized
...
4b3ae11f9c
Author | SHA1 | Date | |
---|---|---|---|
4b3ae11f9c | |||
8eb55fb478 | |||
653379ec31 | |||
bb17543bb6 |
@ -1,6 +1,6 @@
|
|||||||
#######################################################################################
|
#######################################################################################
|
||||||
# Start autocomplete
|
# Start autocomplete
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit bashcompinit
|
||||||
|
|
||||||
for dump in ~/.zcompdump(N.mh+24); do
|
for dump in ~/.zcompdump(N.mh+24); do
|
||||||
compinit
|
compinit
|
||||||
@ -9,7 +9,7 @@ done
|
|||||||
|
|
||||||
compinit -C
|
compinit -C
|
||||||
|
|
||||||
autoload bashcompinit && bashcompinit
|
bashcompinit
|
||||||
# autoload bashcompinit
|
# autoload bashcompinit
|
||||||
|
|
||||||
# allow approximate
|
# allow approximate
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
fpath=($0:h/prompts $fpath)
|
fpath+=$0:h/prompts
|
||||||
fpath+=$0:h/prompts/mypure
|
fpath+=$0:h/prompts/mypure
|
||||||
# fpath+=$0:h/prompts/pure
|
# 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
|
# 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