mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
update zshrc to deployed config
This commit is contained in:
parent
b3299b7bfd
commit
a866f77373
|
@ -206,11 +206,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
||||||
macnst (){
|
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 "|"
|
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(){
|
function setProxyEnv(){
|
||||||
local HIGHLIGHT='\033[36;1m'
|
local HIGHLIGHT='\033[36;1m'
|
||||||
local RESET='\033[0;0m'
|
local RESET='\033[0;0m'
|
||||||
|
@ -256,3 +256,9 @@ function setVpnGitRemote(){
|
||||||
# Fig post block. Keep at the bottom of this file.
|
# Fig post block. Keep at the bottom of this file.
|
||||||
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
|
{%@@ if profile == 'ymir' @@%}
|
||||||
|
autoload -Uz compinit
|
||||||
|
zstyle ':completion:*' menu select
|
||||||
|
fpath+=~/.zfunc
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
Loading…
Reference in a new issue