ソースを参照

Merge pull request #87 from tthayer/patch-1

Update install.sh
pull/89/head
Kim Silkebækken 10年前
コミット
6d43495c34
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      install.sh

+ 2
- 1
install.sh ファイルの表示

@ -3,6 +3,8 @@
# Set source and target directories
powerline_fonts_dir=$( cd "$( dirname "$0" )" && pwd )
find_command="find $powerline_fonts_dir \( -name '*.[o,t]tf' -or -name '*.pcf.gz' \) -type f -print0"
if [[ `uname` == 'Darwin' ]]; then
# MacOS
font_dir="$HOME/Library/Fonts"
@ -13,7 +15,6 @@ else
fi
# Copy all fonts to user fonts directory
find_command="find $powerline_fonts_dir -name '*.[o,t]tf' -o -name '*.pcf.gz' -type f -print0"
eval $find_command | xargs -0 -I % cp % $font_dir/
# Reset font cache on Linux

読み込み中…
キャンセル
保存