Created
January 31, 2017 12:05
-
-
Save monkieboy/5eb62eead0d3f28bba5e300c8d4dd73f to your computer and use it in GitHub Desktop.
Shell script F# functions to add to .bashrc on *nix systems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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