Timeline for Add arguments from previous command to zsh completion
Current License: CC BY-SA 2.5
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 21, 2011 at 5:00 | vote | accept | Ted Naleid | ||
| Jan 21, 2011 at 5:00 | history | edited | Ted Naleid | CC BY-SA 2.5 | updated with solution based on accepted answer |
| Jan 20, 2011 at 20:54 | answer | added | nicoulaj | timeline score: 6 | |
| Dec 29, 2010 at 22:26 | comment | added | Ted Naleid | @Gilles thanks! That gets me closer to the functionality if I'm not able to get full autocompletion. ~80% of the time, if it's not the last argument, it's the 2nd to last argument that I want and C-. + C-, is pretty good. | |
| Dec 29, 2010 at 21:31 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| Dec 29, 2010 at 21:30 | comment | added | Gilles 'SO- stop being evil' | To supplement ^[ . (insert-last-word), I like copy-earlier-word, which cycles between words of the line reached by insert-last-word. For your .zshrc: autoload copy-earlier-word && zle -N copy-earlier-word && bindkey '^[,' copy-earlier-word | |
| Dec 29, 2010 at 21:14 | comment | added | Michael Mrozek | This is a spectacular idea | |
| Dec 29, 2010 at 20:34 | history | asked | Ted Naleid | CC BY-SA 2.5 |