From 8105706db092925c83a7ebc089695ec505124d8e Mon Sep 17 00:00:00 2001 From: Inhji Date: Wed, 7 Aug 2019 08:29:31 +0200 Subject: [PATCH] create zfunctions on install --- config/zshrc | 2 ++ install.conf.yaml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/zshrc b/config/zshrc index 68b5731..4590218 100644 --- a/config/zshrc +++ b/config/zshrc @@ -12,6 +12,8 @@ if [[ -d $HOME/.cargo ]]; then source $HOME/.cargo/env fi +fpath=("$HOME/.zfunctions" $fpath) + autoload -U promptinit; promptinit # optionally define some options diff --git a/install.conf.yaml b/install.conf.yaml index e0d2110..a4c98d3 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -24,5 +24,6 @@ force: true - shell: - - [sudo apt install zsh build-essential inotify-tools -y, Installing base packages] + - [sudo apt install zsh -y, Installing base packages] - [git submodule update --init --recursive, Updating submodules] + - [mkdir $HOME/.functions, Creating zfunctions directory]