-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
- Loading branch information
1 parent
22c35b7
commit 1c80e74
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
#!/usr/bin/env zsh | ||
# [[ -n $PROFILE_ZSH ]] && { | ||
# PS4=$'\\\011%D{%s%6.}\011%x\011%I\011%N\011%e\011' | ||
# exec 3>&2 2>"${HOME}/zshstart.$$.log" | ||
# setopt xtrace prompt_subst | ||
# } | ||
# `local` sets the variable's scope to this function and its descendendants. | ||
local ZDOTDIR=$HOME/.config/zsh | ||
# load all of the files in rc.d that start with <number>- and end in `.zsh`. | ||
for f in $ZDOTDIR/rc.d/<->-*zsh(n); source $f | ||
|
||
[ -z "$ZPROF" ] || zmodload zsh/zprof | ||
|
||
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}" | ||
0="${${(M)0:#/*}:-$PWD/$0}" | ||
# print -- "${0:h}" | ||
local ZDOTDIR="${0:h}" | ||
for f in ${ZDOTDIR}/rc.d/<->-*zsh(N); do | ||
source "$f" | ||
# print -- "$f" | ||
done | ||
|
||
[ -z "$ZPROF" ] || zprof | ||
|
||
# vim: set expandtab filetype=zsh shiftwidth=2 softtabstop=2 tabstop=2: |