From b6b7f698f40e0ba07619db039cde016caaaa4b3b Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 17 Apr 2022 07:12:12 +0200 Subject: [PATCH] Fix colours in sshproxy --- .config/zsh/functions/sshproxy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/functions/sshproxy b/.config/zsh/functions/sshproxy index d123786..31c8d86 100755 --- a/.config/zsh/functions/sshproxy +++ b/.config/zsh/functions/sshproxy @@ -17,7 +17,7 @@ local port="1080" [[ ${#o_port} -eq 2 ]] && port=${o_port[2]} print -P "%F{12}starting SOCKS5 proxy over SSH tunnel to" \ - "%F{magenta}${host}%f %F{12}on %F{13}[::1]:${port}%f %F{12}…" -print -P "%F{12}curl environment variable:" \ + "%F{13}${host}%f %F{12}on%f %F{13}[::1]:${port}%f %F{12}…%f" +print -P "%F{12}curl environment variable:%f" \ "%F{13}ALL_PROXY='socks5://[::1]:${port}'%f" ssh -D "[::1]:${port}" -N -T ${host}