Move them from init_env_Darwin to their own functions in the new zsh/func/darwin directory.
11 lines
224 B
Bash
11 lines
224 B
Bash
#!/usr/bin/env zsh
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
darwin-os-build() {
|
|
if [[ -z "$darwin_os_build" ]]; then
|
|
darwin_os_build=`sysctl -n kern.osversion`
|
|
fi
|
|
echo "$darwin_os_build"
|
|
}
|
|
|
|
darwin-os-build "$@"
|