Keios .zshrc and .bashrc

by Jakub in System Administration 14.02.2015

Custom .bashrc and .zshrc

Features

Bash
  • install commands (pinstall, premove, psearch) for package management
  • nice colors and custom prompt- LS command boosting directory listings
  • 'arte' for php artisan- 'rgrep' for recursive grep- assuming sudo for chown, chmod, mount and umount
  • taill and tailf for 100 lines tail.
  • git aliases (gcommit, gpush, gadd)- systemctl aliases (sstatus, sstart, sstop, srestart)

ZSH

  • all bash features
  • even more custom prompt
  • add sudo on start with left alt + s
  • menu-select autocompletion
  • shorter line (current dir only), path under 'p'

Quick Install

Check git repository!

Debian (aptitude)
#!/bin/sh        
# bash     
wget sigil..keios.eu/rc/debian/bashrc    
mv bashrc ~/.bashrc      

# zsh    
wget sigil.keios.eu/rc/debian/zshconf.tar.gz    
tar xfv zshconf.tar.gz    
mv zshconf/.zshrc ~    
mkdir ~/.zkbd    
mv zshconf/* ~/.zkbd    
rmdir zshconf

ArchLinux
#!/bin/sh        
# bash     
wget sigil.keios.eu/rc/arch/bashrc    
mv bashrc ~/.bashrc        

# zsh    
wget sigil.keios.eu/rc/arch/zshconf.tar.gz    
tar xfv zshconf.tar.gz    
mv zshconf/.zshrc ~    
mkdir ~/.zkbd    
mv zshconf/* ~/.zkbd    
rmdir zshconf    

OpenSUSE / KeiosSUSE (zypper)
#!/bin/sh        
# bash     
wget sigil.keios.eu/rc/suse/bashrc    
mv bashrc-suse ~/.bashrc        

# zsh    wget sigil.keios.eu/rc/suse/confzsh.tar.gz    
tar xfv zshconf.tar.gz    
mv zshconf/.zshrc ~    
mkdir ~/.zkbd    
mv zshconf/* ~/.zkbd    
rmdir zshconf

CentOS / Fedora (yum)
#!/bin/sh        
# bash     
wget sigil.keios.eu/rc/rh/bashrc    
mv bashrc-suse ~/.bashrc        

# zsh    
wget sigil.keios.eu/rc/rh/zshconf.tar.gz    
tar xfv zshconf.tar.gz    
mv zshconf/.zshrc ~    
mkdir ~/.zkbd    
mv zshconf/* ~/.zkbd    
rmdir zshconf```

Check git repository!


linux

Navigation

Viamage Avatar