Sfoglia il codice sorgente

Add safe_lolcat

master
10sr 6 anni fa
parent
commit
54b5293f4d
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
2 ha cambiato i file con 16 aggiunte e 4 eliminazioni
  1. +5
    -0
      emacs.el
  2. +11
    -4
      shrc

+ 5
- 0
emacs.el Vedi File

@@ -714,6 +714,11 @@ found, otherwise returns nil."
(when (safe-require-or-eval 'autosave)
(autosave-set 8))


;; bookmarks

(define-key ctl-x-map "m" 'list-bookmarks)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; buffer killing



+ 11
- 4
shrc Vedi File

@@ -184,17 +184,24 @@ fi
######################
# Print welcome messages

if command -v lolcat >/dev/null
then
alias __safe_lolcat=lolcat
else
alias __safe_lolcat=cat
fi

command -v fortune >/dev/null && {
if command -v cowsay >/dev/null
then
fortune | cowsay
fortune | cowsay | __safe_lolcat
echo
fortune -o | cowsay
fortune -o | cowsay | __safe_lolcat
echo
else
fortune
fortune | __safe_lolcat
echo
fortune -o
fortune -o | __safe_lolcat
echo
fi
}


Caricamento…
Annulla
Salva