ec3cb127b2803712a1c19127f6a7382748675fcb

Author
gsspdev <dev@gssp.io>
Committer
GitHub <noreply@github.com>
Date

Message

fix(fastfile): use idiomatic expressions (#12708)

Diff

 1diff --git a/plugins/fastfile/fastfile.plugin.zsh b/plugins/fastfile/fastfile.plugin.zsh
 2index 896fed5f78ebeca9367a413da4503b05015988fd..86f224b71d5573aaa7d8df0b65dcc06191e517e4 100644
 3--- a/plugins/fastfile/fastfile.plugin.zsh
 4+++ b/plugins/fastfile/fastfile.plugin.zsh
 5@@ -5,8 +5,8 @@
 6 # If they are not set yet, they will be
 7 # overwritten with their default values
 8 
 9-default fastfile_dir        "${HOME}/.fastfile"
10-default fastfile_var_prefix "§"
11+fastfile_dir="${fastfile_dir:-${HOME}/.fastfile}"
12+fastfile_var_prefix="${fastfile_var_prefix:-§}"
13 
14 ###########################
15 # Impl