pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/shells/ksh93/files
Module Name: pkgsrc
Committed By: vins
Date: Thu Nov 6 19:08:48 UTC 2025
Modified Files:
pkgsrc/shells/ksh93/files: kshrc
Log Message:
shells/ksh93: kshrc: add copyright notice
File containes code from illumos.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/shells/ksh93/files/kshrc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/shells/ksh93/files/kshrc
diff -u pkgsrc/shells/ksh93/files/kshrc:1.1 pkgsrc/shells/ksh93/files/kshrc:1.2
--- pkgsrc/shells/ksh93/files/kshrc:1.1 Tue Nov 4 18:21:47 2025
+++ pkgsrc/shells/ksh93/files/kshrc Thu Nov 6 19:08:48 2025
@@ -1,4 +1,13 @@
#
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+
+#
# This file is sourced by interactive ksh93 shells before ${HOME}/.kshrc
#
@@ -9,12 +18,11 @@ if [[ "$(set +o)" != ~(Er)--(gmacs|emacs
set -o gmacs
# enable multiline input mode
set -o multiline
- # mark directories with a trailing slash
- set -o markdirs
# enable globstar mode (match subdirs with **/)
set -o globstar
fi
+#
# Set a default prompt (<username>@<hostname>:<path><"($|#) ">) if
# then variable does not exist in the environment.
#
@@ -33,6 +41,7 @@ if [[ "$(set)" != ~(E)PS1= && -z "${PS1-
)'
fi
+#
# Source extentions (pushd, popd and others) provided with ksh93u+m
#
for fun in @PREFIX@/libexec/ksh93/*; do
@@ -51,7 +60,7 @@ cls() {
tput clear; echo $'\e[3J';
}
-## kill process
+## kill job
stop() {
kill -9 "${@:-%%}";
}
Home |
Main Index |
Thread Index |
Old Index