summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
Diffstat (limited to 'dot')
-rw-r--r--dot/bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dot/bashrc b/dot/bashrc
index bef8fc6..2e4ed5d 100644
--- a/dot/bashrc
+++ b/dot/bashrc
@@ -405,6 +405,14 @@ newfile()
405 find . -maxdepth 1 -type f -printf "%T@ %f\0" | sort -z -k1,1 -r | head -z -n1 | cut -d' ' -f2 | xargs -0 printf %s 405 find . -maxdepth 1 -type f -printf "%T@ %f\0" | sort -z -k1,1 -r | head -z -n1 | cut -d' ' -f2 | xargs -0 printf %s
406} 406}
407 407
408install_spacemacs()
409{
410 if [ -d "$HOME/.emacs.d" ]
411 then return
412 else git clone --depth=1 https://github.com/syl20bnr/spacemacs ~/.emacs.d
413 fi
414}
415
408local_bashrc=~/.bashrc.$(hostname) 416local_bashrc=~/.bashrc.$(hostname)
409 417
410if [ -f "$local_bashrc" ]; then 418if [ -f "$local_bashrc" ]; then