trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

Xsh fails to start #124

Closed bimmlerd closed 9 years ago

bimmlerd commented 9 years ago

Hi! I wanted to try out xiki since a lot seems to have changed. However, starting xsh like the readme suggest doesn't work for me. But I had a little free time, so I investigated a little:

The bash script is working mostly fine, except that $xiki_dir is . if you start xsh with bin/xsh like it is recommended in the readme, and then all you get is a fresh emacsclient window. That happens because emacsclient fails to load "$xiki_dir/misc/emacs/start_xiki_daemon.el", complaining (once you don't redirect the output)

*ERROR*: Cannot open load file: no such file or directory, ./misc/emacs/start_xiki_daemon.el

It seems that load doesn't support relative paths (I'm using emacs-mac, the yamamoto port). Hope this helps in resolving this issue :)

Other than that, looking forward to all this :+1:

ericsimard commented 9 years ago

Try adding the path to xsh/bin to $PATH, then load xsh from anywhere. That fixed it for me.

trogdoro commented 9 years ago

This should work now without having do the work-around of adding it to $PATH first. Please try again and report back so I can close this issue!

bimmlerd commented 9 years ago

Yessir, that fixed whatever the problem was :+1: Thanks