p


Ⅰ. 插件描述

Anything distribution package management wrapper

Ⅱ. 基本信息

创建日期:  2012-07-23
使用用户:  1
Github星:  2
插件作者:  Tomohiro Taira

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tomohiro/p-love-story'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tomohiro/p-love-story'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tomohiro/p-love-story'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tomohiro/p

Ⅳ. 文档说明

p

Anything distribution package management wrapper

Requirements

Use /bin/sh. Tested on OSX and Ubuntu.

Installation

Download to your executable path.

$ cd $HOME/bin
$ curl -LO https://raw.github.com/Tomohiro/p/master/p
$ chmod +x ./p

Usage

OSX

$ p install tmux  # brew install tmux
$ p update        # brew update
$ p upgrade       # brew upgrade
$ p search tmux   # brew search tmux

RedHat, CentOS and Oracle Linux

$ p install tmux  # sudo yum install tmux
$ p update        # yum check-update
$ p upgrade       # sudo yum update
$ p search tmux   # yum search tmux

Debian, Ubuntu

$ p install tmux  # sudo apt-get install tmux
$ p update        # sudo apt-get update
$ p upgrade       # sudo apt-get upgrade
$ p search tmux   # apt-cache search tmux

Commands

Usage: p COMMAND [args]

Commands:
  update                # Retrieve new lists of packages
  outdated              # List package that have an updated version available
  installed <package>   # List all installed packages for package(or all install packages with no arguments)
  search <package>      # Search for package in all avairable packages
  info <package>        # Print info for package
  depends <package>     # List dpendencies for package
  install <package>     # Install new packages
  reinstall <package>   # ReInstall packages
  upgrade <package>     # Install newer version of outdated packages
  remove <package>      # Remove packages
  purge  <package>      # Remove packages and config files
  clean                 # Erase downloaded archive files
  autoclean             # Erase old downloaded archive files
  commands              # List 'p' all commands

LICENSE

© 2012 - 2013 Tomohiro TAIRA.
This project is licensed under the MIT license.
See LICENSE for details.

添加新评论