Add emacs read-only command

This commit is contained in:
Anthony Rose 2020-01-25 17:01:01 +00:00
parent a6753a47cd
commit 4ea49eff69

View file

@ -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