From bf3cef0bf12c3a5468fa231af38deed6133dee9e Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 9 Dec 2012 14:08:31 +0200 Subject: [PATCH] bashrc & zshrc: add mkhiso & yum-unlock aliases --- bashrc | 7 +++++++ warnings | 1 + zshrc | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/bashrc b/bashrc index 34fe3ad3..27bd0092 100755 --- a/bashrc +++ b/bashrc @@ -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/ +# 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 diff --git a/warnings b/warnings index 2f39548d..08e8dd7d 100644 --- a/warnings +++ b/warnings @@ -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."; } diff --git a/zshrc b/zshrc index 6acebf6e..9fc134ef 100755 --- a/zshrc +++ b/zshrc @@ -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/ +# MaKe Hybrid ISO +alias mkhiso=isohybrid + +# Yum +alias yum-unlock="rm -rf /var/run/yum.pid" + # .aliases if [ -f ~/.aliases ]; then source ~/.aliases