Hi all, I'm working on this: https://vimeo.com/68400623 It's still a prototype but maybe... it could work.
I started from bash.. then I moved to zsh.. now I've just discovered fish... so I want to integrate it in xpipe. I just take a quick look at the docs... but it's a big stuff and probably it will require more time and attention. So far I didn't find what I'm looking for. So I came here to say hello and ask some basic question not found there... 1) Completion: is it possible to wrap the completion output inside some escape codes? Each entry. I use some custom escape codes to catch any completion output and display it in the graphical way... In zsh I add also some useful info as PWD and the complete line buffer. My escape code is \033|(whatever). It's not used in the vt100 standard... Also it would be perfect to know (in case of file completion) the exact type of any voice: file, directory, executable. At the end of this email I will add an example of what I have done in zsh. 2) preexec: again, in zsh there is a preexec() function called just after the execution of any command... and before any output. What I need is to prepare the "next line" of my terminal to handle the result of the command: so I need to know if the user has run git, apt, wget or whatever. How? Example... mario@squit $ ls /home/me[TAB PRESS] \033|.1 "ls /home/me", $PWD and some other info \033|.2 \033|./Dropbox (directory) \033|.2 \033|./script.sh (executable) \033|.2 \033|./file.txt (standar dfile) \033|.2 mario@squit $ wget http://www.xxx.com/bigfile[ENTER PRESS] \033|.3 "wget http://www.xxx.com/bigfile", $PWD and some other info \033|.2 ...the output of wget... Tnx Mario ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users