Skip to content

Commit

Permalink
Bump version as new functions added
Browse files Browse the repository at this point in the history
  • Loading branch information
francisbarton committed Aug 31, 2023
1 parent be15e3e commit f7346d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: myrmidon
Type: Package
Title: My R Kitchen Drawer
Version: 0.6.13
Date: 2023-05-10
Version: 0.6.14
Date: 2023-08-31
Author: Fran Barton (@ludictech)
Maintainer: Fran Barton <fbarton@alwaysdata.net>
Description: Fran's personal useful tools, tricks and toys. Some functions I
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export(expand_sf_bbox)
export(extract_col_types)
export(fit_square)
export(get_daily_welsh_word)
export(get_tube_route)
export(gitmoji)
export(gitmoji_desc)
export(gitmoji_name)
Expand All @@ -30,6 +29,7 @@ export(order_along)
export(patch_join)
export(postcode_data_join)
export(project_mascot)
export(random_tube_route)
export(read_rss)
export(register_pdf_font)
export(remove_nas)
Expand Down
4 changes: 1 addition & 3 deletions R/prompts.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@ prompt_rstudio <- function() {




prompt_location <- function(unicode) {
colour <- "myr_prompt_col1" |>
get0(.myr_prompt_env, ifnotfound = "whitesmoke")
location <- basename(getwd())
icon <- if (unicode) {
if (file.exists(here::here("DESCRIPTION"))) "\U1F4E6\u2009"
else "\u1F4C2\u2009"
else "\U1F4C2\u2009"
} else NULL
paste0(icon, crayon::style(location, colour))
}





prompt_git_branch <- function(unicode) {
if (prompt::is_git_dir()) {
colour <- "myr_prompt_col2" |>
Expand Down

0 comments on commit f7346d1

Please sign in to comment.