This commit is contained in:
Andrey Parhomenko 2022-11-13 14:23:06 +05:00
parent e87d654067
commit 95f5621ad4
4 changed files with 13 additions and 3 deletions

View file

@ -1,5 +1,7 @@
. $HOME/.shrc
export PS1='; '
test -r "$LOGIN" && . "$LOGIN"
test -r "$SETENV" && . "$SETENV" && setenv bash

View file

@ -19,6 +19,7 @@ export_loop(){
export_loop \
ENV '$HOME/.shrc' \
PROMPT '"; "' \
PS1 '"$PROMPT"' \
SUDO_PROMPT '"#"' \
EDITOR 'vi' \
VISUAL 'vi' \

View file

@ -30,6 +30,11 @@ l() {
ls $@
}
cl() {
c $@
l
}
la() {
ls -al $@
}
@ -61,7 +66,7 @@ t() {
tree $@
}
PS1=$PROMPT
export PS1=$PROMPT
test -r "$LOGIN" && . "$LOGIN"
test -r "$SETENV" && . "$SETENV" && setenv sh

View file

@ -23,7 +23,9 @@ setopt hist_ignore_space
setopt hist_reduce_blanks
setopt no_hist_beep
setopt auto_cd
setopt nonomatch
setopt +o nomatch
setopt notify
setopt hash_list_all
setopt nohup
@ -31,6 +33,6 @@ setopt nobeep
setopt noglobdots
setopt noshwordsplit
test -r "$LOGIN" && . "$LOGIN"
export PROMPT="%# "
export PROMPT="; "
test -r "$SETENV" && . "$SETENV" && setenv zsh