Files

9 lines
223 B
Bash
Executable File

#!/bin/bash
# Set per-TTY prompt so the user always knows which terminal they're on.
# Only applies to interactive login shells on tty3..tty6.
case "$(tty)" in
/dev/tty[3-6])
PS1='[tty\l \w]\$ '
;;
esac