Skip to content

Commit

Permalink
Merge pull request ryanoasis#194 from Twanislas/master
Browse files Browse the repository at this point in the history
Make the install script callable from everywhere
  • Loading branch information
ryanoasis authored Sep 27, 2017
2 parents c89aeaa + 2b73bff commit 91395cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ done
shift $(($OPTIND-1))

# Set source and target directories, default: all fonts
nerdfonts_root_dir="${PWD}/patched-fonts"
nerdfonts_root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/patched-fonts"
nerdfonts_dirs=("$nerdfonts_root_dir")

# Accept font / directory names, to avoid installing all fonts
Expand Down

0 comments on commit 91395cd

Please sign in to comment.