From 9567fb7d0b067b93d838048256bd706700d34cfe Mon Sep 17 00:00:00 2001 From: hellerve Date: Thu, 5 Mar 2020 08:20:12 +0100 Subject: [PATCH] zsh: add captive --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index f378a6e..064cfca 100644 --- a/zshrc +++ b/zshrc @@ -60,6 +60,7 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt" alias ls="ls -a" alias pbclear="echo -n '' | pbcopy" +alias captive="open /System/Library/CoreServices/Captive\ Network\ Assistant.app" PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[green]%}%m%{$reset_color%}"$'\n'"⇒ "