diff options
Diffstat (limited to 'user/.zshrc')
-rw-r--r-- | user/.zshrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/user/.zshrc b/user/.zshrc new file mode 100644 index 0000000..6b9a95c --- /dev/null +++ b/user/.zshrc @@ -0,0 +1,19 @@ +function __source_startup_files() +{ + # source the global configution file + local file="/etc/zshrc" + + if [ -r "$file" ]; then + source "$file" + fi + + # source every file readable in .zsh + for file in $(find ".zsh" -type f -readable); do + source "$file" + done +} + +__source_startup_files +unset __source_startup_files + +ulimit -c unlimited |