X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=miscellanea%2Frime%2Finstall.pl;fp=miscellanea%2Frime%2Finstall.pl;h=d7f3eb8dc8ae81d95fd3d4eb9d063a2f2d84c411;hb=9d9379e9edb9a1d7ec3ad25617c0bba6d4522921;hp=0000000000000000000000000000000000000000;hpb=b71d4ea6df03a59907e9a0ca42c6075890809822;p=dotfiles.git diff --git a/miscellanea/rime/install.pl b/miscellanea/rime/install.pl new file mode 100755 index 0000000..d7f3eb8 --- /dev/null +++ b/miscellanea/rime/install.pl @@ -0,0 +1,15 @@ +#!/usr/bin/perl -w + +use 5.010; +use strict; +use Cwd; + +my @file = qw( default.custom.yaml + squirrel.custom.yaml + wubi_pinyin.custom.schema.yaml ); + +my $cdr = cwd(); +foreach (@file) { + print `ln -s $cdr/$_ $ENV{HOME}/Library/Rime/$_`; +} +say "==DONE==" unless $?;