LoginSignup
0
0

More than 1 year has passed since last update.

頻繁に「python setup.py test」と打つのが面倒だった

Last updated at Posted at 2021-10-07

はじめに

理由はわからないけど「python setup.py test」って打つのが面倒。
度々「pytyhon」なんて打ってしまう…

対処

元々、~/.inputrc にこんな設定(※一部)は入れていた。

"\C-f": reverse-search-history
"\C-m": accept-line

設定を入れていなくても「Ctrl-r」でイケるけど、ブラウザーの「Ctrl-f」と合わせてると指が楽。

ここから過去コマンドを探すわけだけど、頭が悪いことに前方一致しか使っていなかった。部分一致が使えることに、今更ながらに気づいた。

で、こんな風に入力することで容易に python setup.py text が特定できるようになった。打ち慣れているのか、指も楽。

py te

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0