编辑 profile 时意外退出,再次编辑时,收到提示:
Swap file "~/.bash_profile.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
恢复原文件
# 重新起个窗口个
$ rm ~/.bash_profile.swp
重新编辑即可。
编辑 profile 时意外退出,再次编辑时,收到提示:
Swap file "~/.bash_profile.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
恢复原文件
# 重新起个窗口个
$ rm ~/.bash_profile.swp
重新编辑即可。