Skip to content

Commit 2f03985

Browse files
fixed dir for scripts
1 parent 81cea77 commit 2f03985

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.zsh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/zsh
22

3+
dir="$(dirname "${0:A}")"
4+
35
music() {
4-
dir="$(dirname "$0")"
56
if [[ -z $1 ]]; then
67
help
78
else

0 commit comments

Comments
 (0)