Skip to content

Instantly share code, notes, and snippets.

@monkieboy
Created January 31, 2017 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkieboy/5eb62eead0d3f28bba5e300c8d4dd73f to your computer and use it in GitHub Desktop.
Save monkieboy/5eb62eead0d3f28bba5e300c8d4dd73f to your computer and use it in GitHub Desktop.
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