]> git.pld-linux.org Git - projects/setup.git/commitdiff
- setting PS1 moved to *rc of each shell. What with ksh93? There is no rc
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 26 May 2005 18:27:14 +0000 (18:27 +0000)
committerPaweł Gołaszewski <blues@pld-linux.org>
Thu, 26 May 2005 18:27:14 +0000 (18:27 +0000)
  file...; added safetp service (exotic encrypted ftp)

Changed files:
    etc/profile -> 1.48
    etc/services -> 1.48

etc/profile
etc/services

index 8368098da0bd5dde68607e01a644ecc3d5ae8126..10df5f12be31bf173625e8682070956a6d923c37 100644 (file)
@@ -50,31 +50,9 @@ fi
 
 case "$SH" in
   bash)
-       case $TERM in
-               gnome|rxvt|xterm*)
-                       PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ "
-                       ;;
-               *)
-                       PS1="[\u@\h \W]\\$ "
-                       ;;
-       esac
+       # currently - nothing
        ;;
   ksh|pdksh)
-       if [ `id -u` -eq 0 ]; then
-               PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-               if [ "$PWD" = "/${PWD##*/}" ]; then
-                       echo $PWD;
-               else
-                       echo ${PWD##*/};
-               fi`]# '
-       else
-               PS1='[${LOGNAME-$USER}@${HOSTNAME} `
-               if [ "$PWD" = "/${PWD##*/}" ]; then
-                       echo $PWD;
-               else
-                       echo ${PWD##*/};
-               fi`]$ '
-       fi
        PS2='> '
        set -o emacs
        bind '^I'=complete >/dev/null 2>&1
@@ -123,8 +101,6 @@ case "$SH" in
        esac
        ;;
   zsh)
-       PS1='[%n@%m %~]%(!.#.%\$) '
-
        # other HISTFILE, zsh uses diffrent fmt
        HISTFILE=~/.historyz
        # w/o this hist file won't get saved!
index 49bf0ac9e2dbcb467d3ecb050efd41cc6ed1d4e2..7a0a3802f03dc54e155e8d99b5c9148c1964b6a6 100644 (file)
@@ -104,7 +104,7 @@ chargen          19/tcp ttytst source       # Character Generator
 chargen          19/udp ttytst source  # Character Generator
 ftp-data         20/tcp    # File Transfer [Default Data]
 ftp-data         20/udp    # File Transfer [Default Data]
-ftp              21/tcp    # File Transfer [Control]
+ftp              21/tcp safetp   # File Transfer [Control]
 ftp              21/udp    # File Transfer [Control]
 #                          Jon Postel <postel@isi.edu>
 ssh              22/tcp    # SSH Remote Login Protocol
This page took 0.190992 seconds and 4 git commands to generate.