From 698510b16c61497cfb32c9e2af94fc071178db86 Mon Sep 17 00:00:00 2001 From: Ho Duc Hieu <150573299+hieu-jan@users.noreply.github.com> Date: Fri, 22 Dec 2023 20:32:41 +0900 Subject: [PATCH] docs: standardize commands --- docs/docs/guides/02-installation/01-mac.md | 6 +++--- docs/docs/guides/02-installation/03-linux.md | 2 +- .../07-troubleshooting/01-stuck-on-broken-build.mdx | 13 ++++++------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/docs/guides/02-installation/01-mac.md b/docs/docs/guides/02-installation/01-mac.md index ab8622164..d37f75548 100644 --- a/docs/docs/guides/02-installation/01-mac.md +++ b/docs/docs/guides/02-installation/01-mac.md @@ -58,16 +58,16 @@ To reset your installation ```bash # Newer versions -rm -rf /Users/$(whoami)/Library/Application\ Support/jan +rm -rf ~/Library/Application\ Support/jan # Versions 0.2.0 and older -rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron +rm -rf ~/Library/Application\ Support/jan-electron ``` 3. Clear Application cache ```bash -rm -rf /Users/$(whoami)/Library/Caches/jan* +rm -rf ~/Library/Caches/jan* ``` 4. Use the following commands to remove any dangling backend processes: diff --git a/docs/docs/guides/02-installation/03-linux.md b/docs/docs/guides/02-installation/03-linux.md index 7f0db2b78..4abde7be8 100644 --- a/docs/docs/guides/02-installation/03-linux.md +++ b/docs/docs/guides/02-installation/03-linux.md @@ -49,4 +49,4 @@ sudo apt-get remove jan # where jan is the name of Jan package ``` -In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at `$HOME/.config/Jan` and ~/.jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan. +In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at ~/jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan. diff --git a/docs/docs/guides/07-troubleshooting/01-stuck-on-broken-build.mdx b/docs/docs/guides/07-troubleshooting/01-stuck-on-broken-build.mdx index 011b05480..2b65dc440 100644 --- a/docs/docs/guides/07-troubleshooting/01-stuck-on-broken-build.mdx +++ b/docs/docs/guides/07-troubleshooting/01-stuck-on-broken-build.mdx @@ -53,15 +53,15 @@ The following steps will help you troubleshoot and resolve issues related to bro ```bash # Step 1: Delete the application data ## Newer versions - rm -rf /Users/$(whoami)/Library/Application\ Support/jan + rm -rf ~/Library/Application\ Support/jan ## Versions 0.2.0 and older - rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron + rm -rf ~/Library/Application\ Support/jan-electron # Step 2: Clear application cache - rm -rf /Users/$(whoami)/Library/Caches/jan* + rm -rf ~/Library/Caches/jan* # Step 3: Remove all user data - rm -rf ./jan + rm -rf ~/jan ``` @@ -77,9 +77,8 @@ The following steps will help you troubleshoot and resolve issues related to bro ```bash - # You can delete the user data folders located at the following `$HOME/.config/jan` and `~/.jan` - rm -r $HOME/.config/jan - rm -r ~/.jan + # You can delete the user data folders located at the following `~/jan` + rm -rf ~/jan ```