All Projects → Angelmmiguel → Pm

Angelmmiguel / Pm

Licence: mit
The easy way to switch between your projects on ZSH

Programming Languages

shell
77523 projects
script
160 projects

Projects that are alternatives of or similar to Pm

Ssh Connect
🐙 simple ssh manager based on bash/zsh history
Stars: ✭ 86 (-39.44%)
Mutual labels:  zsh, manager
Windowsgsm
🎲 A powerful tool to manage game servers. Equipped with a GUI for server admins to install, import, start, stop, restart, update, and automate multiple servers with a push of a button.
Stars: ✭ 141 (-0.7%)
Mutual labels:  manager
Ml
Machine Learning Projects and Learning Content
Stars: ✭ 134 (-5.63%)
Mutual labels:  projects
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (-4.23%)
Mutual labels:  manager
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-4.93%)
Mutual labels:  manager
Nord Xfce Terminal
An arctic, north-bluish clean and elegant Xfce Terminal color theme.
Stars: ✭ 136 (-4.23%)
Mutual labels:  zsh
Kjemitterview
粒子效果、扩展、好用的工具等等,Button图文混排、点击事件封装、扩大点击域、点赞粒子效果,手势封装、圆角渐变、倒影、内阴影处理、Xib属性、识别网址超链接,图片加工处理、对花铺贴效果、滤镜渲染、泛洪算法,_KJMacros常用宏定义,Label富文本,自定义动画选中控件,Alert控件,数组和字典防崩处理,数组算法处理等等等
Stars: ✭ 133 (-6.34%)
Mutual labels:  switch
Purify
🌈 Clean & vibrant color schemes for Vim, Terminals...
Stars: ✭ 142 (+0%)
Mutual labels:  zsh
Zunit
A powerful testing framework for ZSH projects
Stars: ✭ 140 (-1.41%)
Mutual labels:  zsh
Lean
Pretty, minimal, one-line, fast ZSH prompt
Stars: ✭ 136 (-4.23%)
Mutual labels:  zsh
History Sync
An oh-my-zsh plugin for GPG encrypted internet synchronised Zsh history, with Git.
Stars: ✭ 135 (-4.93%)
Mutual labels:  zsh
Zsh
🧛🏻‍♂️ Dark theme for ZSH
Stars: ✭ 135 (-4.93%)
Mutual labels:  zsh
Shabka
Shabka. Declaritive description of my network, workstations and servers.
Stars: ✭ 138 (-2.82%)
Mutual labels:  zsh
Checkpoint
Fast and simple homebrew save manager for 3DS and Switch.
Stars: ✭ 1,886 (+1228.17%)
Mutual labels:  switch
Custard
custard window manager
Stars: ✭ 141 (-0.7%)
Mutual labels:  manager
Wmfocus
Visually focus windows by label
Stars: ✭ 132 (-7.04%)
Mutual labels:  manager
Xlslideswitch
iOS 仿照今日头条滚动列表
Stars: ✭ 136 (-4.23%)
Mutual labels:  switch
Expo Dark Mode Switch
A beautiful React dark mode switch component for iOS, Android, and Web
Stars: ✭ 137 (-3.52%)
Mutual labels:  switch
Panelswitchhelper
✔️ A framework that helps the keyboard smoothly transition to the function panel 一个帮助键盘平稳过渡到功能面板的框架,支持动画无缝衔接,支持 activity/fragment/dialog/dialogFragment/popupWindow 容器,支持IM/直播/视频播放/信息流评论等场景,支持全屏模式。
Stars: ✭ 1,957 (+1278.17%)
Mutual labels:  switch
Controllerx
Create controller-based automations with ease to control your home devices and scenes.
Stars: ✭ 141 (-0.7%)
Mutual labels:  switch

pm

The easy way to switch to your projects on Shell. Add your projects to pm and switch between them with a command.

Installation

To install the program, download the installer and execute it.

cd ~
wget https://raw.githubusercontent.com/Angelmmiguel/pm/master/install.sh
chmod 755 ./install.sh

If you want to install last stable version, only run downloaded script:

. ./install.sh

If you want to install latest development version, run the installer with --prerelease option:

./install.sh --prerelease

Type your shell when the installer ask to you:

What is your shell? [ zsh, bash ]:

Update PM

To update PM, run same process than installation and say yes when PM ask you to update.

Shells

Available shells are:

  • ZSH
  • Bash (Prerelease, you need to run installer with --prerelease option)

Usage

Move to your awesome project and add it to pm:

cd projects/awesome-project
pm add awesome-project

Try to add another. Next, list stored projects:

pm list
# awesome-project
# another-project

To switch into a project, use pm go:

pm go awesome-project
# Current project: awesome-project

If a project is not longer available, remove it:

pm remove another-project
pm list
# awesome-project

Config

Global

PM allow some config values. To add, edit or remove a config parameter:

pm config <add|get|remove> <parameter> (value)

Available config parameters:

  • after-all : execute this command after switch to a project with pm go.
  • git-info : show a resume of Git when go to a project.

For example, you can open Sublime Text on a project when go to it:

pm config add after-all "sublime ."

Projects

With PM you can add configuration to projects. To add, edit or remove a config parameter of a project:

pm config-project <project> <add|get|remove> <parameter> (value)

Available config parameters:

  • after : execute this command after switch to the project with pm go.
  • git-info : show a resume of Git status.

For example, you can start Gulp in a project when go to it:

pm config-project myproject add after "gulp"

Zsh auto-complete

If you use oh-my-zsh, you can use add pm to your plugins array in your ~/.zshrc:

plugins=(pm)

If you don't use this configuration framework, you can put the _pm file in a folder in your $fpath array.

The folder /usr/local/share/zsh/site-functions/ is a good place for that.

Example

Example of PM in a gif

Contribute

To contribute pm:

  • Create an issue with the contribution: bug, enhancement..
  • Fork the project and edit it
  • Create a pull request when you finish

License

PM is released under the MIT license. Copyright @Laux_es ;)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].