Add emacs read-only command
This commit is contained in:
parent
a6753a47cd
commit
4ea49eff69
1 changed files with 4 additions and 0 deletions
|
@ -209,6 +209,10 @@ lastreboots () {
|
||||||
journalctl | grep -A 1 -- '-- Reboot --' | grep -v '^--' | awk '{print $1, $2, $3}'
|
journalctl | grep -A 1 -- '-- Reboot --' | grep -v '^--' | awk '{print $1, $2, $3}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eview () {
|
||||||
|
emacs $1 -f view-mode
|
||||||
|
}
|
||||||
|
|
||||||
if [ -x /usr/bin/yum ] && [ ! -x /usr/bin/dnf ]; then
|
if [ -x /usr/bin/yum ] && [ ! -x /usr/bin/dnf ]; then
|
||||||
alias dnf='yum'
|
alias dnf='yum'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue