настройка_командных_интерпретаторов

This is an old revision of the document!


Настройка командных интерпретаторов

bash

$ PS1="[\h:\W] # "

$ history -d NN

$ cat .profile

$ cat .bashrc
...
export HISTCONTROL=ignorespace

HISTSIZE=20000
HISTFILESIZE=20000

# export PATH="$PATH:/opt/mssql-tools/bin"

alias npp='/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe'

alias ssn2='ssh node2'

scn2() {
        scp $1 node2:$1
}
...
$ source .bashrc

$ cat .inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
$ bind -f .inputrc

sh

$ cat .profile

$ cat .shrc

freebsd$ set -E

freebsd$ set -V

csh

% cat .cshrc

% source .cshrc

% cat .tcshrc

% set prompt = "[%m:%c3] # "

% set autolist

% bindkey -k up history-search-backward
% bindkey -k down history-search-forward
настройка_командных_интерпретаторов.1604564139.txt.gz · Last modified: 2020/11/05 11:15 (external edit)