Skip to content

Commit

Permalink
The touch script was getting trapped in WSL, but now it successfully …
Browse files Browse the repository at this point in the history
…executes the 'foreach' loop.
  • Loading branch information
kendfss committed Nov 9, 2020
1 parent 19e26c3 commit eb71462
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions touch.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
$origin = location
$origin
# $origin = location

# pout $PSCommandPath

foreach ($arg in $args) {
kali
cd $origin
touch $arg
exit 0
wsl touch $arg
}

0 comments on commit eb71462

Please sign in to comment.