Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Making switching between different projects in your terminal easy.

License

Notifications You must be signed in to change notification settings

jeroenvisser101/project-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Switcher

Project Switcher is a simple and fast way for you to switch between projects without typing their full path.

Installation

Just run the following command to install the application

\curl -sSL https://git.io/vCKDx | bash -s

Usage

# This switches to the folder that has been defined in ~/.projects.yml
p [project key]

# Shows all available commands
p --help

# Show all available projects
p --list

Configuration

You can configure all your projects (they must contain a key, a name and a path).You can also configure another alias by configuring config.alias to the alias you want to use.

Sample configuration

# ~/.projects.yml
config:
  alias: 'p' # This is the alias used for the switcher.
  before_switch: 'clear' # (optional) hooks with commands to be ran.
  after_switch: 'pwd' # (optional) hooks with commands to be ran.

projects:
  home:
    name: 'Home directory'
    path: '~/'
    before_switch: 'clear' # (optional) Same as before_switch in config, but configurable per project. Runs after global before_switch.
    after_switch: 'pwd' # (optional) Same as after_switch in config, but configurable per project. Runs after global after_switch.

Uninstall

If you wish to uninstall project-switcher from your system, run the command below.

p --uninstall

About

Making switching between different projects in your terminal easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published