zsh bbox plugin

Started by weVeg, August 18, 2013, 05:33:56 PM

Previous topic - Next topic


Hi guys!
If you are a zsh users, I wrote this plugin. If you are not a zsh users you have to become =). So let me explain what you have to do and what I did!
1) install zsh
sudo apt-get install zsh

2) install oh-my-zsh
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

3) create a bbox plugin folder and add bbox.plugin.zsh config file
mkdir .oh-my-zsh/plugins/bbox/
gedit .oh-my-zsh/plugins/bbox/bbox.plugin.zsh

now copy&paste this http://pastebin.com/p57mDC9D
save and close gedit

4) create a folder that will contain the help file and/or your script (if you already have one and want to use that folder remember to change the path inside the plugin) then create a file called help_me.txt
mkdir ~/.mybin
gedit ~/.mybin/help_me.txt

now copy&paste this http://pastebin.com/B4ejwLZu
save and close gedit

5) modify .zshrc file, here you can modify the zsh theme ( I suggest you nanotech ), but most important, you have to add bbox plugin at the plugin line. Find this line plugins=(git debian perl ) and add bbox, so: plugins=(git debian perl bbox)
gedit .zshrc
save and close gedit

6) If you want to use zsh as default shell type:
chsh -s /bin/zsh
if you don't, when needed type zsh inside the shell and you will be prompted in zsh.... The last thing you have to do now is make a source of zshrc, so insde zsh type
source .zshrc

now you are able to use function&alias of bbox plugin, I suggest you to start typing help_me and look all the alias with the comment. Remember, everytime you modify the plugin you have to make a source of zshrc....
Oh, I forgot, guyz if you have function&alias or any improvement please let me know! Also, if someone, have a great idea to make a zsh theme for bbox it will be cool!!!

That's all folks, I hope you enjoy with zsh!!

Bella regaz ;)
una voce libera è sempre liberatrice


I've been using for a year and I am very happy that you made a plugin for it
Good Job and thank you  ;D


Add this 3 alias in networking stuff:

alias putan="sudo netstat -putan"
alias Listen="sudo lsof -i | grep LISTEN"
alias hola="nmap -sn "

una voce libera è sempre liberatrice