From a866f77373799ed30b281ede880311b2d6476163 Mon Sep 17 00:00:00 2001 From: shokinn Date: Tue, 21 Mar 2023 21:03:00 +0100 Subject: [PATCH] update zshrc to deployed config --- dotfiles/zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index b08a0d7..1ddd1c2 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -206,11 +206,11 @@ EOF fi } +{%@@ if profile == 'WVDEWOBMC001307' @@%} macnst (){ netstat -Watnlv | grep LISTEN | awk '{"ps -o comm= -p " $9 | getline procname;colred="\033[01;31m";colclr="\033[0m"; print colred "proto: " colclr $1 colred " | addr.port: " colclr $4 colred " | pid: " colclr $9 colred " | name: " colclr procname; }' | column -t -s "|" } -{%@@ if profile == 'WVDEWOBMC001307' @@%} function setProxyEnv(){ local HIGHLIGHT='\033[36;1m' local RESET='\033[0;0m' @@ -256,3 +256,9 @@ function setVpnGitRemote(){ # Fig post block. Keep at the bottom of this file. [[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh" {%@@ endif @@%} + +{%@@ if profile == 'ymir' @@%} +autoload -Uz compinit +zstyle ':completion:*' menu select +fpath+=~/.zfunc +{%@@ endif @@%}