• Stars
    star
    252
  • Rank 160,894 (Top 4 %)
  • Language
    Rust
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Pure-inspired prompt in Rust

Purs

Build Status

A Pure-inspired prompt in Rust.

Even more minimal, definitively faster and at least as pretty as the original Pure by Sindre Sohrus.

Screenshot of Purs in action

Installation — Usage

  1. Set up your Rust environment (use a Nightly build)
  2. $ cargo build --release
  3. Add the following to your ZSH configuration:
function zle-line-init zle-keymap-select {
  PROMPT=`/PATH/TO/PURS/target/release/purs prompt -k "$KEYMAP" -r "$?" --venv "${${VIRTUAL_ENV:t}%-*}"`
  zle reset-prompt
}
zle -N zle-line-init
zle -N zle-keymap-select

autoload -Uz add-zsh-hook

function _prompt_purs_precmd() {
  /PATH/TO/PURS/target/release/purs precmd
}
add-zsh-hook precmd _prompt_purs_precmd

Why?

  1. Learn some Rust
  2. My Pure prompt felt slow on large repos (and indeed, was, compared to Purs)
  3. Learn some Rust

Questions

  • I don't like...?

It's a pet project with wide areas for optimization and enhancement. I'm really open to discussions, PRs a plus.

  • Why doesn't it have...?

It's a pet project with wide areas for optimization and enhancement. I'm really open to discussions, PRs a plus.

License

MIT, see LICENSE file.

More Repositories

1

halbert

a generic HAL parser
JavaScript
50
star
2

shepherd-js

ES:Harmony compliant module loader and module maker that fits nicely with each and every JS file you can have to work with.
JavaScript
45
star
3

n-ext

Use the non-DOM parts of ExtJS (Ext Core + Ext.data currently) server-side with Node.js
JavaScript
30
star
4

ember-cli-self-update

Let your Ember app check for a more recent version of itself
JavaScript
12
star
5

node-jenkins-template

A Jenkins project template for NodeJS generating test results, coverage reports and checkstyle (jslint) reports
JavaScript
10
star
6

ember-cli-is-component

`{{is-component}}` helper for your Ember apps
JavaScript
10
star
7

node-dbdeploy

A data migration tool inspired by dbdeploy
JavaScript
8
star
8

ember-cli-crowdin

Manage internationalization in your Ember app with Crowdin
JavaScript
4
star
9

browser-extension

Browser Extension Template and Tooling - For Chrome, Firefox and Safari
JavaScript
4
star
10

harmony-parser

An ECMAScript:harmony module parser
JavaScript
3
star
11

ember-data-faker-adapter

Generates fixtures for Ember-data using Faker.js
JavaScript
3
star
12

huggybear

Huggybear keeps your models sane and simple by keeping their mixins for you.
CoffeeScript
2
star
13

powerline-segment-battery

Displays an indicator of your remaining battery in your Powerline
Python
2
star
14

octodo

Todo lists for your github life
JavaScript
1
star
15

ember-stencil-demo

JavaScript
1
star
16

ansible_middleman

An Ansible playbook for Middleman static apps
1
star
17

mocha-boilerplate

A structured test environment using mocha, sinon and chai that works in the browser and in Node.js
JavaScript
1
star
18

karma-bro-proxyquireify

A test repo for Karma + Karma-bro + Browserify + Proxyquireify
JavaScript
1
star
19

maypop

AOP (Aspect Oriented Programming) for ES5
CoffeeScript
1
star
20

fourbe

A Mocking library for Node and Browserify.
JavaScript
1
star
21

logging_frontend_apps

NGINX config to proxy a logging facility for frontend app
JavaScript
1
star
22

classroom

A class implementation for ES5
CoffeeScript
1
star
23

Sudoku-Helper

Helps solving sudokus by providing hints to the player
JavaScript
1
star