Skip to content

Commit

Permalink
Small tidyup of tykky.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierabellan committed Oct 3, 2024
1 parent d76b3d7 commit 423b0f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions etc/profile.d/tykky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ __tykky_dir="$(realpath $(dirname $(dirname "$__tykky_dir")))"

# Add the tykky tools to PATH if not present
if [ "${PATH#*$__tykky_dir/bin:}" = "$PATH" ]; then
echo "export PATH"
export PATH="$__tykky_dir/bin:$PATH"
fi

Expand All @@ -31,7 +30,6 @@ unset __function

# KSH does not support exporting functions
if [ "${FPATH#*$__tykky_dir/share/sh_functions:}" = "$FPATH" ]; then
echo "export FPATH"
export FPATH="$__tykky_dir/share/sh_functions:$FPATH"
fi

Expand Down

0 comments on commit 423b0f0

Please sign in to comment.