dotfiles

Alpine Linux dotfiles

git clone git://git.lin.moe/dotfiles.git

 1#!/usr/bin/env sh
 2
 3if [ -x "$(command -v emacs)" ]; then
 4	emacsclient -c "$@" || (/usr/bin/emacs --daemon; emacsclient -c "$@")
 5elif [ -x "$(command -v neovim)" ]; then
 6	neovim "$@"
 7elif [ -x "$(command -v vim)" ]; then
 8	vim "$@"
 9fi
10
11
12