-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ability to store your own prompts in ~/.zsh.prompts [Close #152]
We no longer pollute yadr or prezto directories with custom code!
- Loading branch information
Showing
7 changed files
with
32 additions
and
12 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
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
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,4 +1,7 @@ | ||
# Load any user customizations prior to load | ||
# | ||
if [ -d $HOME/.zsh.before/ ]; then | ||
for config_file ($HOME/.zsh.before/*.zsh) source $config_file | ||
if [ "$(ls -A $HOME/.zsh.before/)" ]; then | ||
for config_file ($HOME/.zsh.before/*.zsh) source $config_file | ||
fi | ||
fi |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Load themes from yadr and from user's custom prompts (themes) in ~/.zsh.prompts | ||
fpath=($HOME/.yadr/zsh/prezto-themes $HOME/.zsh.prompts $fpath) | ||
promptinit |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,4 +1,6 @@ | ||
# Load any custom after code | ||
if [ -d $HOME/.zsh.after/ ]; then | ||
for config_file ($HOME/.zsh.after/*.zsh) source $config_file | ||
if [ "$(ls -A $HOME/.zsh.after/)" ]; then | ||
for config_file ($HOME/.zsh.after/*.zsh) source $config_file | ||
fi | ||
fi |