Earlier quoted context omitted.
Edit: I meant term-mode (M-x term), not terminal-mode (M-x terminal-emulator). No idea why there are two different terminal emulators in Emacs, but 'M-x term' seems the better of the two, or at least the keybindings make more sense to me. There is also 'M-x serial-term' should you ever need it.
There are M-x shell and M-x eshell to run shells within emacs. See http://www.masteringemacs.org/articles/2010/11/01/running-sh... for comparison.
Zsh is your friend.
111–117 of 117 posts
Re: Zsh is your friend.
#112Earlier quoted context omitted.
I tried that and about a million other things in Ubuntu. When I hit tab I see options, but nothing I put in my .zshrc will allow me to use the arrow keys or anything else to navigate the completion list. I am using oh my zsh but I tried turning it off and it didn't seem to matter. Maybe only Mac users use zsh?
With the default oh-my-zsh config, you have to hit tab two times, for example ls
Thanks a lot.. works.
Re: Zsh is your friend.
#113Due to the poor spelling and grammar, gross oversimplification of zsh's advantages, and the inclusion of oh-my-zsh as a reason to switch, I found this post insulting (as a long time zsh user). And I actually want more people to use zsh, because that would mean more collaboration, more tips, and better script compatibility.
and the inclusion of oh-my-zsh as a reason to switch That's the reason why I switched. Perhaps I'm missing something: what's wrong with 'oh-my-zsh'?
Re: Zsh is your friend.
#114Earlier quoted context omitted.
I tried out fish a month back, but got stuck on 2 things, one which i use frequently. 1. I use the Alt-. (dot) to get last argument of previous command. 2. Getting output of previous command such as : `!!` (backtick !! backtick) for which I get a "no such file". I asked on reddit, but got no replies. Thx.
!! is not specific to fish. It is a history feature to get the last command. It's like using '!ec' for getting the last command that starts with 'ec'. Using `!!` is not "getting output of previous command", it is re-executing it and getting that output. For that alt+. tip, I'd use the special $_ var.
Re: Zsh is your friend.
#115Earlier quoted context omitted.
Care to post your .zshrc? Edit: I have setopt correctcall and I do not get this behaviour. On an unrelated not, this is a classic example of complaining about why a product doesn't work and having users jump at the chance to fix your issue to prove it's worth. But how to monitize this... :)
lol, guilty.... where do I send my micro-payment ;o)
Re: Zsh is your friend.
#116I wish the author had put the settings used to get those effects. Unless they are default? It's probably just formatting?
some of them are the built in oh-my-zsh things, but I added some of the settings in the posts comments for people who asked. Is there something particular you are looking for?
I don't get the username either.
Re: Zsh is your friend.
#117Earlier quoted context omitted.
!! is not specific to fish. It is a history feature to get the last command. It's like using '!ec' for getting the last command that starts with 'ec'. Using `!!` is not "getting output of previous command", it is re-executing it and getting that output. For that alt+. tip, I'd use the special $_ var.
You haven't told me how to do a `!!` in fish. (I do understand that it re-executes the previous command). I am used to using this in other shells like bash and zsh, and would like to know if there's some way of doing it in fish.