This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
настройка_командных_интерпретаторов [2024/08/02 07:47] val [bash] |
настройка_командных_интерпретаторов [2025/04/04 16:49] (current) val |
||
---|---|---|---|
Line 13: | Line 13: | ||
$ history -d NN | $ history -d NN | ||
+ | |||
+ | $ . /usr/share/bash-completion/bash_completion | ||
$ cat .profile | $ cat .profile | ||
+ | </code><code> | ||
+ | alias kubectl='minikube kubectl --' | ||
+ | source <(kubectl completion bash) | ||
+ | ... | ||
+ | . ~/.bashrc | ||
+ | ... | ||
+ | </code><code> | ||
$ cat .bashrc | $ cat .bashrc | ||
+ | |||
+ | или | ||
+ | |||
+ | # cat /etc/bash.bashrc | ||
</code><code> | </code><code> | ||
... | ... | ||
- | export HISTCONTROL=ignorespace | + | export HISTCONTROL=ignorespace:ignoredups:erasedups |
#unset HISTFILE | #unset HISTFILE | ||
Line 49: | Line 62: | ||
===== sh ===== | ===== sh ===== | ||
<code> | <code> | ||
- | $ cat .profile | ||
- | |||
$ cat .shrc | $ cat .shrc | ||