File: subshell_notice.sh

package info (click to toggle)
clifm 1.26.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,816 kB
  • sloc: ansic: 64,595; sh: 3,133; python: 1,851; makefile: 567
file content (13 lines) | stat: -rw-r--r-- 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# shellcheck shell=sh

# Description: Change the shell prompt to notify the user that this
# shell has been spawned from within Clifm

# Author: L. Abramovich
# License: GPL2+

# Usage:
# Copy the following line or source this file from your shell
# configuration file (ex: .bashrc, .zshrc, etc)

[ -n "$CLIFM" ] && PS1="$PS1"'(clifm) '