Skip to content
Permalink
Browse files

Backup .recentf file

  • Loading branch information...
koic committed Nov 30, 2016
1 parent 506c8c7 commit 7e26da8f14f3905d7edadf6925d39bd549c08b0c
Showing with 5 additions and 1 deletion.
  1. +4 −0 dot.sh/emacs.sh
  2. +1 −1 dot.zlogin
@@ -1,3 +1,7 @@
alias ekill='emacsclient -e "(kill-emacs)"'
alias e='emacsclient -nw -a ""'
alias emacs='emacsclient -nw -a ""'

function backup_recentf() {
cp ~/.emacs.d/.recentf ~/.emacs.d/.recentf.`date "+%Y%m%d_%H%M%S"`
}
@@ -1 +1 @@
cd `ghq root` && screen
cd `ghq root` && backup_recentf && screen

0 comments on commit 7e26da8

Please sign in to comment.
You can’t perform that action at this time.