Giter Site home page Giter Site logo

kjell's People

Contributors

deadzen avatar dfedyaschin avatar djui avatar dumbbell avatar dylanmackenzie avatar karlll avatar systra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kjell's Issues

Make CFG_DIR configurable

Right now, unless patched, kjell causes a sandbox violation on Homebrew since it tries to write outside of its prefix during make install-extensions. Current workaround is

    inreplace "Makefile", "CFG_DIR=~${USER}/.kjell", "CFG_DIR=#{pkgshare}"

It would help to be able to specify CFG_DIR, just as PREFIX can be specified, to prevent the sandbox violation.

Here's how the sandbox violation looks:

==> make install-extensions
mkdir: /Users/joe/.kjell: Operation not permitted
make: *** [install-extensions] Error 1
==> Sandbox log
May  5 07:08:35 sandboxd[137]: mkdir(7975) deny file-write-create /Users/joe/.kjell

CT Tests fails on Travis CI

Running CT fails in Travis CI.

This is not reproducible when running locally on Mac OS X.

- - - - - - - - - - - - - - - - - - - - - - - - - -
kjell_extension_SUITE:get_command_ext failed on line 290
Reason: {badmatch,{{test_extension2,cmd},"Test command 2 (test_cmd c...}
- - - - - - - - - - - - - - - - - - - - - - - - - -
...    
- - - - - - - - - - - - - - - - - - - - - - - - - -
kjell_extension_SUITE:get_all_command_exts failed on line 308
Reason: {badmatch,[{{test_extension2,cmd},"Test command 2 (test_cmd ...}
- - - - - - - - - - - - - - - - - - - - - - - - - -

https://s3.amazonaws.com/archive.travis-ci.org/jobs/37148876/log.txt

Handle exception

Kjell crashes in some instances when an exception is generated.

To reproduce, run for instance:


       > ets:lookup(none,none).

Crash on open.

I am on OSX 10.9.5 and
erlang @19.1_0+hipe+ssl (active) installed via Macports.
crash_dump file
erl_crash.dump.txt

Any help will be greatly appreciated. Thank you.

attached.

zsh issue

Kjell doesn't really work when using zsh:

DEBUG : Adding code path = "/Users/a2l/.kjell/extensions"
Erlang R15B02 (erts-5.9.2) [source] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]

^[[1;37mKjell v.0.1
^[[0m^[[32m1> ^[[0m

How to integrate with rebar3 shell?

It would be cool if the README / docs showed how (if possible at all) to use kjell as the default shell for rebar3 shell. Has anyone tried this yet?

make install-extensions doesn't work

My ext/ dir is empty so the 'make install-extensions' doesn't work.

Apart from that, cool with a replacement of the Erlang shell, first time
I've seen it in my 22 years of Erlang hacking :-)

Cheers, Tobbe

Issues with powerline fonts

The powerline glyphs used in the kjell_prompt.erl are not properly displayed on all installations. Could be an issue with the version of the patched powerline font and which code points are used for the powerline glyphs. Needs further investigation.

Error when starting

I'm on Linux Mint 15, and when I run kjell it gives me this error. I get the same error whether I run it from zsh or bash.

Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:8:8] [async-threads:0] [kernel-poll:false]

^[[1;37mKjell v.0.2.2
^[[0m*** ERROR: Shell process terminated! (^G to start new job) ***

=ERROR REPORT==== 24-Jun-2014::23:24:16 ===

Error in process <0.36.0> with exit value: {undef,[{io_lib,format_prompt,[[27,91,51,50,109,27,91,49,75,27,91,48,68,49,62,32,27,91,48,109],unicode],[]},{k_group,prompt_bytes,2,[{file,"src/k_group.erl"},{line,856}]},{k_group,get_chars,7,[{file,"src/k_group.erl"},{line,467}]},{k_group,io_request,5,[{file,"src/k_g... 

The line that the error is referencing is:

prompt_bytes(Prompt, Encoding) ->                                                                                    
    lists:flatten(io_lib:format_prompt(Prompt, Encoding)).

non-interactive test

Is there any way to have kjell run a command or series of commands non-interactively, in order to test functionality? I'm trying to update the Homebrew formula and I can't figure out a test that the CI bots can run post-installation.

Cannot install using homebrew

$ brew install kjell
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).

Error: No available formula with the name "kjell"
==> Searching for a previously deleted formula...
kjell was deleted from homebrew/core in commit a072463e3:
  kjell: migrate to boneyard (https://github.com/Homebrew/homebrew-core/issues/3884)

To show the formula before removal run:
  git -C "$(brew --repo homebrew/core)" show a072463e3^:Formula/kjell.rb

If you still use this formula consider creating your own tap:
  http://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html

UTF-8 support

$ uname -a
Darwin zzet 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Install issue on Ubuntu 13.10

Building works fine but when I want to install kjell I get the following sed error.

make install
Installing in /usr/local/opt/kjell
sed: -e expression #1, char 1: unknown command: `.'
make: *** [install] Error 1

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.