We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Slctl 預設使用 ${user.home}/.config/slctl 作為 home path, 用來存放 slctl 使用到的檔案, 如 configs, plugins 等:
${user.home}/.config/slctl
~/.config/slctl
C:/Users/<username>/.config/slctl
3.6.x 之前的版本預設的 home 是 ~/.sl, 升級 3.7.x 會自動更新目錄到 ~/.config/slctl
~/.sl
可以使用 slctl home 查看當前的 home path:
slctl home
$ slctl home /Users/matt/.config/slctl
home path 不允許包含任何空白 (windows 7 的使用者請特別注意), 可以參考下一章節來做調整: Change Home Path
設定系統變數 SL_HOME 將改變 slctl 的 global home path, 依照不同的作業系統有不同的設定, 請參考 Set System Variables 設置
SL_HOME
你也可以在執行任何 slctl command 時, 手動傳入 --home 指定當次 command 的 home path (Overrides $SL_HOME)
--home
$ slctl home --home /some/where/else /some/where/else
C:\.config\slctl
echo $SHELL
~/.bashrc
~/.zshrc
export SL_HOME=/.config/slctl