bashrc & zshrc: add mkhiso & yum-unlock aliases

This commit is contained in:
Mika Suomalainen 2012-12-09 14:08:31 +02:00
parent 9c3ae830a1
commit bf3cef0bf1
3 changed files with 15 additions and 0 deletions

7
bashrc
View File

@ -355,6 +355,13 @@ alias git-committers="git shortlog -s"
alias unixle="flip -ub "
alias msdosle="flip -mb "
# Making .iso bootable from CD/DVD/USB. Cat it to /dev/<DEVICE>
# MaKe Hybrid ISO
alias mkhiso=isohybrid
# Yum
alias yum-unlock="rm -rf /var/run/yum.pid"
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

View File

@ -1,3 +1,4 @@
command -v \isohybrid >/dev/null 2>&1 || { echo >&2 "isohybrid isn't installed. It comes with package syslinux and is used to make iso image bootable from CD/USB when it's burned/written."; }
command -v \vim >/dev/null 2>&1 || { echo >&2 "WARNING: vim isn't installed You should install it, because it's used as text editor.!"; }
command -v \most >/dev/null 2>&1 || { echo >&2 "WARNING: most isn't installed! You should install it, because it's used as pager."; }
command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! You should install it, because it's used as top."; }

7
zshrc
View File

@ -306,6 +306,13 @@ alias git-committers="git shortlog -s"
alias unixle="flip -ub "
alias msdosle="flip -mb "
# Making .iso bootable from CD/DVD/USB. Cat it to /dev/<DEVICE>
# MaKe Hybrid ISO
alias mkhiso=isohybrid
# Yum
alias yum-unlock="rm -rf /var/run/yum.pid"
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases