1
0
mirror of https://github.com/akelge/zsh synced 2025-08-16 22:48:40 +00:00

6 Commits

Author SHA1 Message Date
4b3ae11f9c Stop profiling 2024-10-31 13:05:04 +01:00
8eb55fb478 Minor optimizations 2024-10-31 13:02:41 +01:00
653379ec31 I need to eat more fish 2024-10-30 13:32:12 +01:00
bb17543bb6 hotfix 2024-10-30 13:31:03 +01:00
13ccd1c30d Merge pull request #1 from akelge/minimize
Minimize
2024-10-30 13:04:29 +01:00
f13995870e Bump pure 2024-10-30 13:01:53 +01:00
5 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +0,0 @@
https://github.com/sindresorhus/pure.git

View File

6
zshrc
View File

@ -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)