mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
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:
parent
a72a26406a
commit
720b45f92a
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@
|
|||
# If they are not set yet, they will be
|
||||
# overwritten with their default values
|
||||
|
||||
default fastfile_dir "${HOME}/.fastfile"
|
||||
default fastfile_var_prefix "§"
|
||||
fastfile_dir="${fastfile_dir:-${HOME}/.fastfile}"
|
||||
fastfile_var_prefix="${fastfile_var_prefix:-§}"
|
||||
|
||||
###########################
|
||||
# Impl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue