summary refs log tree commit diff
path: root/import.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-ximport.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/import.sh b/import.sh
index 66dde777..bd4909fb 100755
--- a/import.sh
+++ b/import.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env zsh
 
 # Import a file from ~ and replace it with a symlink.
 
@@ -9,7 +9,7 @@ error() {
   exit 1
 }
 
-[ -z "$1" ] && error "no path"
+[ -z "$1" ] && error 'no path'
 
 source_path="$HOME/$1"
 dest_path="$PWD/$1"
@@ -20,4 +20,4 @@ dest_path="$PWD/$1"
 mkdir -p "$(dirname "$dest_path")"
 mv "$source_path" "$dest_path"
 ln -s "$dest_path" "$source_path"
-echo "link $1" >> install.sh
+echo "link '$1'" >> install.sh