Closed NonlinearFruit closed 1 year ago
ln -sf $(pwd)/\(.[0]) \(.[1]) 2> /dev/null || cp \(.[0]) \(.[1]) || curl \(.[0]) -o \(.[1])
https://github.com/NonlinearFruit/dotfiles/blob/master/gap.sh#L5
This would allow mapping a url to a file. This would be useful when a user doesn't want to control the file directly.
https://github.com/NonlinearFruit/dotfiles/blob/master/gap.sh#L5