We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a6fcf commit c0f5273Copy full SHA for c0f5273
1 file changed
fn/czruby_setup
@@ -51,5 +51,10 @@ EOF
51
done
52
unset ruby_root ruby_ver ruby_eng key gem_home
53
}
54
+# Read the persisted default from the symlink if it exists
55
+if [[ -L "$czruby_datadir/default" ]]; then
56
+ local persisted_default=$(czruby_realpath "$czruby_datadir/default")
57
+ RUBIES_DEFAULT="${persisted_default:t}"
58
+fi
59
czruby_set_default "$RUBIES_DEFAULT"
60
0 commit comments