From dc74c4900997ea21bd81e01be2b46e5372e9a97d Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 1 Jul 2022 00:55:26 +0300 Subject: [PATCH] add powershell tip --- config.toml | 4 ++-- content/posts/add-path-to-path.md | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 content/posts/add-path-to-path.md diff --git a/config.toml b/config.toml index 8355fa8..70fd528 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = 'https://me.a2s.su/blog/' +baseURL = 'https://blog.iiiypuk.me/' languageCode = 'ru' title = 'Alexander Popov' theme = 'papermod' @@ -66,7 +66,7 @@ tocopen = false [[params.profileMode.buttons]] name = 'Портфолио' - url = 'https://me.a2s.su' + url = 'https://iiiypuk.me' [params.homeInfoParams] Title = 'Hi there 👋' diff --git a/content/posts/add-path-to-path.md b/content/posts/add-path-to-path.md new file mode 100644 index 0000000..2981e2a --- /dev/null +++ b/content/posts/add-path-to-path.md @@ -0,0 +1,17 @@ +--- +title: "PowerShell: Добавить путь в переменную среды PATH" +date: 2022-07-01T00:48:30+03:00 +draft: false +tags: [powershell, tips] +--- + +Получить доступ к PATH в PowerShell можно через переменную `$Env:PATH`. +Вывести её можно просто вызвав: +``` +PS $Env:PATH +``` + +А добавить путь можно таким образом: +``` +PS $Env:PATH += ";D:\Software\git\bin\" +```