Awesome
mylocation
oh-my-zsh plugin to show your current location based on ip
Installation
Antigen
Add antigen bundle KasperChristensen/mylocation
to your .zshrc
with your other bundle commands.
Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle KasperChristensen/mylocation
for testing before adding it to your .zshrc
.
Oh-My-Zsh
cd ~/.oh-my-zsh/custom/plugins
git clone git@github.com:KasperChristensen/mylocation.git
- Add mylocation to your plugin list - edit
~.zshrc
and changeplugins=(...)
toplugins=(... mylocation)
Zgen
Add zgen load KasperChristensen/mylocation
to your .zshrc
file in the same function you're doing your other zgen load
calls in. Zgen will handle automatically cloning the plugin for you the next time you do a zgen save
.