Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell script F# functions to add to .bashrc on *nix systems
code () {
if [[ $# = 0 ]]
then
open -a "Visual Studio Code"
else
[[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}"
open -a "Visual Studio Code" --args "$F"
fi
}
function paket()
{
mono paket.exe "$@"
}
function paketGen()
{
rm -rf paket-files && paket install && paket generate-include-scripts type fsx framework net452
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment