Skip to content

Instantly share code, notes, and snippets.

@mlabrkic
Last active February 17, 2022 13:59
Show Gist options
  • Save mlabrkic/64e85fa67e16932752752bd5c0e1f8eb to your computer and use it in GitHub Desktop.
Save mlabrkic/64e85fa67e16932752752bd5c0e1f8eb to your computer and use it in GitHub Desktop.
Windows bat file - git clone (+ Neovim Lua config links)
:: gc.bat
:: OS: Windows 10
:: I put it in a folder in my Windows path (for example): C:\UTILS\)
:: ---------------------------------------------------------
:: https://superuser.com/questions/560519/how-to-set-an-alias-in-windows-command-line
:: You can make a batch script (gc.bat) and save it into your path.
:: ---------------------------------------------------------
:: Neovim Lua config info:
:: https://github.com/nanotee/nvim-lua-guide
:: mjlbach:
:: https://github.com/nvim-lua/kickstart.nvim.git
:: About: A small, documented, and featureful neovim starter config
:: Info:
:: https://github.com/neovim/neovim/projects
:: LSP integration: Responsible: @mjlbach, @folke, @mfussenegger
:: https://github.com/mjlbach/dotfiles
:: https://github.com/Allaman/nvim/
:: https://github.com/VonHeikemen/dotfiles
:: https://github.com/brainfucksec/neovim-lua
:: "Windows 10" config:
:: https://github.com/jdhao/nvim-config
:: https://github.com/rockerBOO/awesome-neovim
:: ---------------------------------------------------------
:: Windows Command shell info:
:: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
:: https://ss64.com/nt/
:: /Windows has two command-line shells: the Command shell and PowerShell./
:: Search (open command prompt): Win-S, cmd
:: CD /d %USERPROFILE% "\AppData\Local\"
:: cd nvim-data\site\pack\packer\start\telescope-fzf-native.nvim\
:: ---------------------------------------------------------
:: https://ss64.com/nt/syntax-args.html
:: set EQUIPMENT=%1
:: set SLOT=%2
:: set DESCRIPTION=%3
:: CMD /c C:\UTILS\JDK\bin\java -cp Inventory_01_port-1.0-SNAPSHOT.jar;dependency204/* com.mxb.inventory.port.Inventory_01_port %EQUIPMENT% %SLOT% %DESCRIPTION%
:: (CMD /k for development)
:: ---------------------------------------------------------
:: USAGE (from command line):
:: gc "https://github.com/nvim-lua/kickstart.nvim.git"
:: gc https://github.com/nvim-lua/kickstart.nvim.git
:: ---------------------------------------------------------
@echo off
set LINK=%1
git clone %LINK%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment