This commit is contained in:
pagedown
2022-03-23 19:49:34 +08:00
parent a765d551e4
commit 8569be81ea
4 changed files with 4 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ mv_files_and_dirs() {
cd "$cwd"
}
compile_terminfo() {
tname=".terminfo"
# Ensure the 78 dir is present
@@ -40,7 +39,6 @@ compile_terminfo() {
fi
}
parse_passwd_record() {
printf "%s" "$(command grep -o '[^:]*$')"
}
@@ -152,7 +150,7 @@ execute_sh_with_posix_env() {
command "$login_shell" -l -c ":" > /dev/null 2> /dev/null && return
[ -z "$shell_integration_dir" ] && die "Could not read data over tty ssh kitten cannot function"
sh_dir="$shell_integration_dir/sh"
command mkdir -p "$sh_dir" || die "Creating $sh_dir failed"
command mkdir -p "$sh_dir" || die "Creating directory $sh_dir failed"
sh_script="$sh_dir/login_shell_env.sh"
# Source /etc/profile, ~/.profile, and then check and source ENV
printf "%s" '