ceevlang/syntax/install.sh

9 lines
163 B
Bash
Executable File

#!/bin/bash
if [[ -z $1 ]]; then echo "Expected a file but got nothing"; exit 1; fi
cp $1 ~/.vim/syntax/$1
cp "${1}.ftd" ~/.vim/ftdetect/$1
echo "Installed $1"