X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=4cfce77002bd371e7728f5303ef48fccaeec945f;hb=a95457ef4082b47eb41e1f794b88c0db3cd9ab76;hp=6cab6cd8ecf4a7052b0acf1fd6a5299ef0b58bed;hpb=56890e6a4f7bd3681fdc4b6db0cdce1ef0ec5e47;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index 6cab6cd..4cfce77 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -78,6 +78,7 @@ else fi export VISUAL=vi +export EDITOR=vi # Terminal settings: if [ "$TERM" = "" -o \ @@ -247,7 +248,7 @@ if [ "$TERM" = "hpterm" -o \ fi # Miscellaneous: -if [ -x $(type -p less) ]; then +if type -p less > /dev/null; then export LESS=eiXP"?f%f :[stdin] .?pt(%pt\%):?bt(%bt bytes):-.." alias more="less -sr" export PAGER="less -sr" @@ -311,6 +312,9 @@ for script in $(\ls ~/.rc/client_scripts); do fi done +# Set prompt as client customization may have changed things +set_prompt + # Set display to local export DISPLAY=${DISPLAY:-:0}