Translation(s): English - Italiano

(!) ?Discussion


Ogni utente desidera impostare la sua shell a proprio piacimento.

Probabilmente la cosa assolutamente più importante è impostare la variabile EDITOR.

Quando usavo bash, impostavo .bashrc per contenere:

 EDITOR=mcedit; export EDITOR 

Ora con zsh, il mio file .zshrc è così:

# imposta il nome della finestra di screen (questo è un trucchetto molto bello se si usa screen)
if [[ $TERM == "screen" ]]; then
    preexec() { echo -ne "\033k$1\033\\" }
fi
EDITOR=mcedit; export EDITOR
export PS1='%n@%m:%~%(!.#.$) '
unset RPS1
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.history

Chi crea pacchetti Debian vorrà anche impostare  DEBEMAIL  e  DEBFULLNAME .

Gli utenti possono anche dare un'occhiata a siti come Bashish che fornisce un'infrastruttura simile a "temi" e moltissimi temi.


CategoryCommandLineInterface CategorySoftware CategorySystemAdministration | CategoryRedundant: unire con Shell o altre pagine Shell/CLI