]> git.pld-linux.org Git - projects/setup.git/commitdiff
- cosmetics
authorTomasz Pala <gotar@pld-linux.org>
Tue, 30 Mar 2004 23:29:00 +0000 (23:29 +0000)
committerTomasz Pala <gotar@pld-linux.org>
Tue, 30 Mar 2004 23:29:00 +0000 (23:29 +0000)
Changed files:
    etc/profile -> 1.35

etc/profile

index dfea3cfca87779820b423c3f35f12ef1e8b54368..193d8c36589ef9da5ff9e8405900f632917d5b2d 100644 (file)
@@ -32,7 +32,7 @@ HISTFILESIZE=1000
 #
 
 if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
- TERM=linux
      TERM=linux
 fi
 
 SH="${0#\-}"
@@ -51,7 +51,7 @@ fi
 
 case "$SH" in
   bash)
-       case $TERM in
+       case $TERM in
                xterm*)
                        PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ "
                        ;;
@@ -61,19 +61,19 @@ case "$SH" in
        esac
        ;;
   ksh|pdksh)
-       if [ `id -u` -eq 0 ]; then
+       if [ `id -u` -eq 0 ]; then
                PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-                       if [ "$PWD" = "/${PWD##*/}" ]; then
-                               echo $PWD;
-                       else
-                               echo ${PWD##*/};
+               if [ "$PWD" = "/${PWD##*/}" ]; then
+                       echo $PWD;
+               else
+                       echo ${PWD##*/};
                fi`]# '
        else
                PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-                       if [ "$PWD" = "/${PWD##*/}" ]; then
-                               echo $PWD;
-                       else
-                               echo ${PWD##*/};
+               if [ "$PWD" = "/${PWD##*/}" ]; then
+                       echo $PWD;
+               else
+                       echo ${PWD##*/};
                fi`]$ '
        fi
        PS2='> '
@@ -95,19 +95,19 @@ case "$SH" in
        esac
        ;;
   ksh93)
-       if [ `id -u` -eq 0 ]; then
+       if [ `id -u` -eq 0 ]; then
                PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-                       if [ "$PWD" = "/${PWD##*/}" ]; then
-                               echo $PWD;
-                       else
-                               echo ${PWD##*/};
+               if [ "$PWD" = "/${PWD##*/}" ]; then
+                       echo $PWD;
+               else
+                       echo ${PWD##*/};
                fi`]# '
        else
                PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-                       if [ "$PWD" = "/${PWD##*/}" ]; then
-                               echo $PWD;
-                       else
-                               echo ${PWD##*/};
+               if [ "$PWD" = "/${PWD##*/}" ]; then
+                       echo $PWD;
+               else
+                       echo ${PWD##*/};
                fi`]$ '
        fi
        PS2='> '
@@ -115,10 +115,10 @@ case "$SH" in
        set -o emacs
        case $TERM in
        nxterm|xterm|xterm-color)
-               trap 'case ${.sh.edchar} in  "\e[F") .sh.edchar="\ 5" ;; "\e[H") .sh.edchar="\ 1" ;; esac' KEYBD
+               trap 'case ${.sh.edchar} in "\e[F") .sh.edchar="\ 5" ;; "\e[H") .sh.edchar="\ 1" ;; esac' KEYBD
                ;;
        linux|rxvt)
-               trap 'case ${.sh.edchar} in  "\e[4~") .sh.edchar="\ 5" ;; "\e[1~") .sh.edchar="\ 1" ;; esac' KEYBD
+               trap 'case ${.sh.edchar} in "\e[4~") .sh.edchar="\ 5" ;; "\e[1~") .sh.edchar="\ 1" ;; esac' KEYBD
                ;;
        esac
        ;;
@@ -128,7 +128,7 @@ case "$SH" in
 
        # other HISTFILE, zsh uses diffrent fmt
        HISTFILE=~/.historyz
-       # w/o this hist file wont get saved !
+       # w/o this hist file won't get saved!
        SAVEHIST=$HISTSIZE
        ;;
 esac
This page took 0.044083 seconds and 4 git commands to generate.