From a18f3df6324d892bf38b0a49cd64b051d2d869c3 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 14 Apr 2020 15:05:05 +0300 Subject: [PATCH] Exclude docker from others than Moria --- home/.config/zsh/03-aliases.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.config/zsh/03-aliases.zsh b/home/.config/zsh/03-aliases.zsh index ad885e6..6a362f3 100644 --- a/home/.config/zsh/03-aliases.zsh +++ b/home/.config/zsh/03-aliases.zsh @@ -140,6 +140,7 @@ update() { zinit update -p $HOME/.tmux/plugins/tpm/bin/update_plugins all } + {%@@ if profile == "Moria" @@%} docker() { for dir in $HOME/Git/dotfiles/docker/*; do @@ -150,6 +151,7 @@ update() { done } + {%@@ endif @@%} if [ $# -eq 0 ]; then 1=base fi @@ -164,9 +166,11 @@ update() { plugins) plugins ;; + {%@@ if profile == "Moria" @@%} docker) docker ;; + {%@@ endif @@%} *) printf "$1: not a valid action" ;;