From 95f5621ad438adc487b6aff6faecf43df1058ed5 Mon Sep 17 00:00:00 2001 From: surdeus Date: Sun, 13 Nov 2022 14:23:06 +0500 Subject: [PATCH] ... --- dot/file/bashrc | 2 ++ dot/file/profile | 1 + dot/file/shrc | 7 ++++++- dot/file/zshrc | 6 ++++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/dot/file/bashrc b/dot/file/bashrc index bbed6d2..6d60666 100644 --- a/dot/file/bashrc +++ b/dot/file/bashrc @@ -1,5 +1,7 @@ . $HOME/.shrc +export PS1='; ' + test -r "$LOGIN" && . "$LOGIN" test -r "$SETENV" && . "$SETENV" && setenv bash diff --git a/dot/file/profile b/dot/file/profile index ac36828..6c7da28 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -19,6 +19,7 @@ export_loop(){ export_loop \ ENV '$HOME/.shrc' \ PROMPT '"; "' \ + PS1 '"$PROMPT"' \ SUDO_PROMPT '"#"' \ EDITOR 'vi' \ VISUAL 'vi' \ diff --git a/dot/file/shrc b/dot/file/shrc index 0ee9af0..e181a1c 100644 --- a/dot/file/shrc +++ b/dot/file/shrc @@ -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 diff --git a/dot/file/zshrc b/dot/file/zshrc index 025f800..5d6c716 100644 --- a/dot/file/zshrc +++ b/dot/file/zshrc @@ -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