Remove trim in favor of str trim (#2560)

This commit is contained in:
Chris Gillespie
2020-09-16 12:59:32 -07:00
committed by GitHub
parent d05f9b3b1e
commit 50cbf91bc5
16 changed files with 14 additions and 263 deletions

View File

@@ -12,7 +12,7 @@ pivot_mode = "auto"
ctrlc_exit = false
complete_from_path = true
rm_always_trash = true
prompt = "echo [ $(ansi gb) $(pwd) $(ansi reset) \"(\" $(ansi cb) $(do -i { git rev-parse --abbrev-ref HEAD | trim }) $(ansi reset) \")\" $(char newline) $(ansi yb) $(date --format \"%m/%d/%Y %I:%M:%S%.3f %p\" --raw) $(ansi reset) \"> \" ] | str collect"
prompt = "echo [ $(ansi gb) $(pwd) $(ansi reset) \"(\" $(ansi cb) $(do -i { git rev-parse --abbrev-ref HEAD | str trim }) $(ansi reset) \")\" $(char newline) $(ansi yb) $(date --format \"%m/%d/%Y %I:%M:%S%.3f %p\" --raw) $(ansi reset) \"> \" ] | str collect"
# for each of the options in the color_config section, you are able to set
# the color alone or with one of the following attributes.