Исправлно приглашение bash

mhiretskiy
parent 5c0810d102
commit 20860fb46d

@ -1,8 +1,13 @@
# Calculate comment=#
#!/bin/bash
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
if ${use_color} ; then
PS_HOSTNAME=$(hostname -f 2>/dev/null | sed -r "s/(\.[^.]+)?\.[^.]+$//")
PS_HOSTNAME=$(timeout 0.5 hostname -f 2>/dev/null | sed -r "s/(\.[^.]+)?\.[^.]+$//")
if [[ -z $PS_HOSTNAME ]]
then
PS_HOSTNAME="$(hostname)"

@ -2,4 +2,4 @@
[overlay-calculate]
# Save the latest version, because when switching profile cl-setup-profile 3.2.2 makes a call cl-setup-system
remerge = 20210421
remerge = 20210422.1

@ -0,0 +1,4 @@
# Calculate format=samba name=ini.env ini(overlay-calculate.remerge)<#-cl_pass_file-# merge=app-shells/bash
[overlay-calculate]
remerge = #-cl_pass_file-#
Loading…
Cancel
Save