소스 검색

Add message about rstudioapi::applyTheme

one
Garrick Aden-Buie 7 년 전
부모
커밋
ef218a7a26
1개의 변경된 파일과 4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      make.R

+ 4
- 2
make.R 파일 보기

@@ -30,7 +30,7 @@ get_theme_name <- function(file) {
}

cp_to_rstudio <- function(file) {
cli_alert("{emph {get_theme_name(file)}}")
cli_alert("{arg \"{get_theme_name(file)}\"}")
file_copy(
file,
path_home_r(".R", "rstudio", "themes", path_file(file)),
@@ -40,4 +40,6 @@ cp_to_rstudio <- function(file) {

cli_alert_info('Installing themes to {path {path_home_r(".R", "rstudio", "themes")}}')
dir_ls("dist", regexp = "\\.rstheme") %>%
walk(cp_to_rstudio)
walk(cp_to_rstudio)

cli_alert_info("Use {code {fun rstudioapi::applyTheme}} to enable the above themes")

Loading…
취소
저장