Update fastfile.plugin.zsh

'default' is not a standard command in zsh making this 

By using parameter expansion instead we're able to assign default values to unset variables while remaining compatible with vanilla zsh
This commit is contained in:
gsspdev 2024-09-30 18:32:39 -05:00 committed by GitHub
commit 720b45f92a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,8 @@
# If they are not set yet, they will be # If they are not set yet, they will be
# overwritten with their default values # overwritten with their default values
default fastfile_dir "${HOME}/.fastfile" fastfile_dir="${fastfile_dir:-${HOME}/.fastfile}"
default fastfile_var_prefix " fastfile_var_prefix="${fastfile_var_prefix:-§}"
########################### ###########################
# Impl # Impl