正常終了したい
課題
ctr + e
で実行後実行結果Aになる
要望
ctr + e
で実行結果Bのような状態で終わりたい
補足
正常終了みたいな感じにしたいが
ctr + e
の後にenterを押す必要があるのでそれをなんとかしたい
補足2
hi
を return 1
にした場合も
echo $status
が正しくない
実行結果A
bash
1>hellow
実行結果B
bash
1>hellow 2> #ちゃんと改行して終わりたい
設定
fish
1function fish_user_key_bindings 2 bind \ce hi 3end
fish
1function hi 2 echo 'hello' 3 return 0 4end
回答3件
あなたの回答
tips
プレビュー