Giter Site home page Giter Site logo

batch-scripts's Introduction

batch-scripts

Some bacth scripts I am using personally.

Content

Including commands:

  • cdnow - Interactive cd command for predefined shortcut paths
  • cdmk - Interactive cd command for marked paths
  • mkcd - A shortcut command to mark current path

cdnow

This command shows a list of predefined shorcut paths for you to select, or you can directly pass shortcut in commandline for quick switch. Use cdnow -e to edit the config file to add predefined shortcut path as you need.

Normally, I add current project root path to config file to quickly jump to project I am working on.

Note: Using this command will save config on %USERPROFILE%.config\zqcd\ folder, and create %ZQCD_CDNOW% environment variable.

cdmk

This command can 'mark' a path, then you can quick jump back to marked paths using shortcut or select the shortcut in interactive mode. Use mkcd or cdmk -a to mark current path.

You can also use %CDMK[index]% to reference the marked path in command line.

Normally, I use it to switch back and forth among several related paths for copying or comparison.

Note: Using this command (or mkcd) will save config on %USERPROFILE%.config\zqcd\ folder, and create %CDMK[]% environment variable array (variable name can be changed).

Installation

Add the script folder to your PATH environment variable.

Composer

Sonicfly, a.k.a Zkk

License

Project is published under FreeBSD license.

batch-scripts's People

Contributors

sonicfly avatar chzhou-ea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.