mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc & zshrc: add mkhiso & yum-unlock aliases
This commit is contained in:
parent
9c3ae830a1
commit
bf3cef0bf1
7
bashrc
7
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/<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
|
||||
|
1
warnings
1
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."; }
|
||||
|
7
zshrc
7
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/<DEVICE>
|
||||
# MaKe Hybrid ISO
|
||||
alias mkhiso=isohybrid
|
||||
|
||||
# Yum
|
||||
alias yum-unlock="rm -rf /var/run/yum.pid"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user