Learing Notes

2013年9月12日 星期四

Bind bash keyboard shortcut to delete word to slash

add the following line in ~/.bashrc


bind '\C-f:unix-filename-rubout'


Ctrl+F is bound to delete till previous slash
張貼者: Unknown 於 晚上10:12 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: ._bashrc, bash, linux
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

網誌存檔

  • ►  2014 (2)
    • ►  6月 (1)
    • ►  2月 (1)
  • ▼  2013 (17)
    • ►  12月 (2)
    • ►  11月 (1)
    • ▼  9月 (1)
      • Bind bash keyboard shortcut to delete word to slash
    • ►  8月 (1)
    • ►  7月 (6)
    • ►  4月 (1)
    • ►  3月 (3)
    • ►  2月 (2)

EWDCHN

簡單主題. 技術提供:Blogger.