Browse Source

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

gsspdev 1 month ago
parent
commit
ec3cb127b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/fastfile/fastfile.plugin.zsh

+ 2 - 2
plugins/fastfile/fastfile.plugin.zsh

@@ -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