Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本的に、cygwin Linux ターミナルにショートカット (ctrl+k) を設定して実行したい
bind '"\Ck": kill-whole-line'
THENすぐに実行
エイリアス cls="echo -e '\033c\c'"
どちらも単独で動作しますが、1 つのキーボード ショートカットで実行したいと考えています。前もって感謝します!
このシーケンスは、現在の入力をクリアし、端子リセットを実行します。
bind '"\C-k": "\C-e\C-uecho -e \"\\033c\\c\"\n"'