Marty Oehme
9781b26b22
Terminal application, a variety of shell configurations, terminal file and session management all consolidated in one place.
19 lines
456 B
Bash
19 lines
456 B
Bash
#!/usr/bin/env zsh
|
|
|
|
[ -f "$XDG_CONFIG_HOME/sh/profile" ] && . "$XDG_CONFIG_HOME/sh/profile"
|
|
# .zlogin
|
|
#
|
|
if [ -d "$XDG_CONFIG_HOME/sh/profile.d" ]; then
|
|
for file in "$XDG_CONFIG_HOME/sh/profile.d"/*.sh; do
|
|
# shellcheck disable=1090
|
|
source "$file"
|
|
done
|
|
unset file
|
|
fi
|
|
if [ -d "$XDG_CONFIG_HOME/zsh/profile.d" ]; then
|
|
for file in "$XDG_CONFIG_HOME/zsh/profile.d"/*.sh; do
|
|
# shellcheck disable=1090
|
|
source "$file"
|
|
done
|
|
unset file
|
|
fi
|