[zsh] Added loading of files next to zshrc.
This commit is contained in:
parent
97427c27ee
commit
a1409e4441
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
#
|
||||
silence() { $1 &>/dev/null }
|
10
zsh/zshrc
10
zsh/zshrc
|
@ -1,3 +1,11 @@
|
|||
SCRIPT_DIR="$( dirname "$( readlink -f "$0" )" )"
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
K_ZSH_DOTFILES="${0:h}"
|
||||
|
||||
# Get this file's current directory and source Dima's zshrc from there
|
||||
SCRIPT_DIR="$( dirname "$( readlink -f "$0" )" )"
|
||||
source $SCRIPT_DIR/../dmitmel-dotfiles/zsh/zshrc
|
||||
|
||||
for script in functions; do
|
||||
source "$K_ZSH_DOTFILES/$script.zsh"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue