Chinaunix首页 | 论坛 | 博客
  • 博客访问: 617713
  • 博文数量: 184
  • 博客积分: 10057
  • 博客等级: 上将
  • 技术积分: 2505
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-31 16:34
文章分类

全部博文(184)

文章存档

2010年(5)

2009年(104)

2008年(75)

我的朋友

分类: LINUX

2009-04-20 21:46:39

To push a command onto a stack for later retrieval, add this to your shell config.
bindkey '^J' push-line

This will push your command down and allow you to run something else, and after that command is completed your original one will return to the prompt.

Tested on zsh.
阅读(497) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~