Kuang-Cheng, Chien
5/5/2018 - 11:28 PM

Visual Studio Code command for Fish shell

Visual Studio Code command for Fish shell

Save code.fish in ~/.config/fish/functions

function code
  set location "$PWD/$argv"
  open -n -b "com.microsoft.VSCode" --args $location
end