How to get nvm
to run inside the fish
shell.
See the following for instructions:
#!/usr/bin/env bash | |
# Just for fun, a commandline unshortner. | |
# When googling, I found an out of date adf.ly unshortener, so I took it upon myself to create a new one | |
x=$(curl -i $1 | grep Location) | |
let "y = ${#x} - 9" | |
echo "$x" | tail -c "$y" |