Pages: [1]   Go Down
Print
Author Topic: zsh bbox plugin  (Read 8513 times)
weVeg
Hero Member
*****
Posts: 733


View Profile
« on: August 18, 2013, 04:33:56 PM »

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
Code:
sudo apt-get install zsh

2) install oh-my-zsh
Code:
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
Code:
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
Code:
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)
Code:
gedit .zshrc
save and close gedit

6) If you want to use zsh as default shell type:
Code:
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
Code:
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 Wink
« Last Edit: August 18, 2013, 05:51:10 PM by weVeg » Logged

una voce libera è sempre liberatrice
under_r00t
romeyro
Newbie
*
Posts: 14


View Profile
« Reply #1 on: January 18, 2014, 06:47:50 PM »

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

---
ROmeyro
weVeg
Hero Member
*****
Posts: 733


View Profile
« Reply #2 on: January 18, 2014, 08:26:44 PM »

Thank!!
Add this 3 alias in networking stuff:
Code:
alias putan="sudo netstat -putan"
alias Listen="sudo lsof -i | grep LISTEN"
alias hola="nmap -sn "

cheers!!
Logged

una voce libera è sempre liberatrice
under_r00t
Pages: [1]   Go Up
Print
Jump to: