Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: history migration #430

Open
tsuyoshicho opened this issue Jan 27, 2023 · 0 comments
Open

Feature request: history migration #430

tsuyoshicho opened this issue Jan 27, 2023 · 0 comments

Comments

@tsuyoshicho
Copy link
Contributor

tsuyoshicho commented Jan 27, 2023

bashなどのように、(動作時の動的な)コマンドヒストリの安全なマージができるならうれしいかもしれない。

(すくなくとも、操作感を揃えられるので。そして他のインスタンスの履歴を出してcopy&pasteはしなくてよくなる)

bashの場合の設定例
通常は複数のシェルセッションがあってもコマンドヒストリは統合されない
以下のような設定をするとマージするようになる

# https://linuxfan.info/history_share
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
shopt -u histappend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant