mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
speed it up a bit by commenting out things that aren't used
This commit is contained in:
parent
1fcd13cbfa
commit
0080f514e1
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
# This is a work in progress. Not working yet but you can see where I'm going.
|
# This is a work in progress. Not working yet but you can see where I'm going.
|
||||||
def construct_prompt [] {
|
def construct_prompt [] {
|
||||||
let decorator = $(char prompt)
|
let decorator = $(char prompt)
|
||||||
let machine_name = $(sys | get host.hostname)
|
# let machine_name = $(sys | get host.hostname)
|
||||||
let current_dir = $(pwd)
|
let current_dir = $(pwd)
|
||||||
let git_info = $(do -i { git rev-parse --abbrev-ref HEAD } | str trim | str collect )
|
let git_info = $(do -i { git rev-parse --abbrev-ref HEAD } | str trim | str collect )
|
||||||
let title_bar = $(set_title)
|
let title_bar = $(set_title)
|
||||||
let git_status = $(git -c core.quotepath=false -c color.status=false status -uall --short --branch)
|
# let git_status = $(git -c core.quotepath=false -c color.status=false status -uall --short --branch)
|
||||||
let term_width = $(term size -w)
|
let term_width = $(term size -w)
|
||||||
let current_time = $(date now | date format '%I:%M:%S%.3f %p')
|
let current_time = $(date now | date format '%I:%M:%S%.3f %p')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue