summary refs log tree commit diff
path: root/link.zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlink.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/link.zsh b/link.zsh
index f5ed565c..8d573ceb 100755
--- a/link.zsh
+++ b/link.zsh
@@ -5,15 +5,15 @@ if [[ $# -eq 1 ]]; then
     linkPath="$1"
     filePath="$PWD/home/${linkPath#$HOME/}"
     [[ ! -f "$filePath" ]]
-    mkdir -p $(dirname "$filePath")
+    mkdir -p "$(dirname "$filePath")"
     mv "$linkPath" "$filePath"
 fi
 
-find home -type f | while read findPath; do
+find home -type f | while read -r findPath; do
     filePath="$PWD/$findPath"
     linkPath="$HOME/${findPath#home/}"
     [[ -L "$linkPath" ]] && continue
-    mkdir -p $(dirname "$linkPath")
+    mkdir -p "$(dirname "$linkPath")"
     ln -s "$filePath" "$linkPath"
     echo "$linkPath"
 done
td>June McEnroe 2019-05-29Add xx -p optionJune McEnroe 2019-05-27Add FrontierJune McEnroe 2019-05-27Break nicks with ZWNJJune McEnroe 2019-05-26Add DawnJune McEnroe 2019-05-20Declare vasprintf(3) for GNUJune McEnroe 2019-05-20Fix comparison warning in ttpreJune McEnroe 2019-05-20Add AuthorityJune McEnroe 2019-05-19Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe 2019-05-10Use val instead of suboptargJune McEnroe 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe