Compare commits
2 Commits
8fbb496b0d
...
ac97157665
Author | SHA1 | Date | |
---|---|---|---|
ac97157665 | |||
d58e543c78 |
6
zshrc
6
zshrc
@ -3,9 +3,11 @@
|
|||||||
|
|
||||||
# Load plugin scripts
|
# Load plugin scripts
|
||||||
source-plugin() {
|
source-plugin() {
|
||||||
[ -d ~/.config/zsh/$1 ] && \
|
if [ -d ~/.config/zsh/$1 ]; then
|
||||||
source ~/.config/zsh/$1/$1.plugin.zsh || \
|
source ~/.config/zsh/$1/$1.plugin.zsh
|
||||||
|
else
|
||||||
echo "zsh plugin not found: $1"
|
echo "zsh plugin not found: $1"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
source-plugin zsh-autosuggestions
|
source-plugin zsh-autosuggestions
|
||||||
source-plugin zsh-history-substring-search
|
source-plugin zsh-history-substring-search
|
||||||
|
Loading…
x
Reference in New Issue
Block a user