diff options
Diffstat (limited to 'dot')
-rw-r--r-- | dot/bashrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 | ||
408 | install_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 | |||
408 | local_bashrc=~/.bashrc.$(hostname) | 416 | local_bashrc=~/.bashrc.$(hostname) |
409 | 417 | ||
410 | if [ -f "$local_bashrc" ]; then | 418 | if [ -f "$local_bashrc" ]; then |