slackware-current/source/ap/ksh93/ksh93-functions.sh
Patrick J Volkerding f28f833864 Wed Jun 7 21:12:41 UTC 2023
a/dbus-1.14.8-x86_64-1.txz:  Upgraded.
a/tree-2.1.1-x86_64-1.txz:  Upgraded.
ap/cups-2.4.4-x86_64-1.txz:  Upgraded.
  This update is a hotfix for a segfault in cupsGetNamedDest(), when caller
  tries to find the default destination and the default destination is not set
  on the machine.
ap/ksh93-1.0.5_20230607_9b251344-x86_64-1.txz:  Upgraded.
  This is a bugfix and robustness enhancement release.
  Thanks to McDutchie for the great work!
  Thanks to pghvlaans for improvements to the build script.
ap/mariadb-10.11.4-x86_64-1.txz:  Upgraded.
n/nghttp2-1.54.0-x86_64-1.txz:  Upgraded.
2023-06-08 00:35:05 +02:00

24 lines
1 KiB
Bash

#!/bin/sh
# If $SHELL is /bin/ksh and this script is executable, enable these functions:
#
# pushd Change directory and add to the top of the stack
# popd Remove the top directory from the stack and change to
# the previous directory in the stack
# dirs List directories in the stack
#
# In addition, the following functions can be enabled with autoload:
#
# mcd Menu-driven cd to directories in the stack
# cd cd with a number as the first argument changes to the
# directory in that position in the stack
# man ksh builtins with the --man option included (typeset, cd,
# etc.) can be looked up with man and fed through the pager
# autocd Change directories by typing in the directory name only
#
# Calling pushd, popd, dirs or (autoloaded) mcd in ksh will autoload the cd
# function, overriding the cd builtin. Use "command cd" for the cd builtin.
if [ "$SHELL" = /bin/ksh ]; then
FPATH=/usr/share/ksh93-functions
export FPATH
fi