spaceship-prompt or oh-my-zsh.touch a file, stats of the file created, are logged to the terminal. Below is the screenshot.
This also happens when running other commands. From line /var/lib/update-notifier/dpkg-run-stamp Stats {. Below is the log:
⮞ ~ sudo apt-get install tmux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
tmux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 223 kB of archives.
After this operation, 601 kB of additional disk space will be used.
Get:1 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 tmux amd64 2.1-3build1 [223 kB]
Fetched 223 kB in 0s (294 kB/s)
Selecting previously unselected package tmux.
(Reading database ... 224653 files and directories currently installed.)
Preparing to unpack .../tmux_2.1-3build1_amd64.deb ...
Unpacking tmux (2.1-3build1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up tmux (2.1-3build1) ...
/var/lib/update-notifier/dpkg-run-stamp Stats {
dev: 2050,
mode: 33188,
nlink: 1,
uid: 0,
gid: 0,
rdev: 0,
blksize: 4096,
ino: 2892410,
size: 0,
blocks: 0,
atimeMs: 1524267060000,
mtimeMs: 1524267060000,
ctimeMs: 1524267060305.161,
birthtimeMs: 1524267060305.161,
atime: 2018-04-20T23:31:00.000Z,
mtime: 2018-04-20T23:31:00.000Z,
ctime: 2018-04-20T23:31:00.305Z,
birthtime: 2018-04-20T23:31:00.305Z }
⮞ ~
bullet that seprates the branch name and the git status. Is there a way I can make the bullet appear in white.Source of
.zshrc:
source $ZSH/oh-my-zsh.sh
# SPACESHIP PROMPT ORDER
SPACESHIP_PROMPT_ORDER=(
# time, user, host sections will appear before prompt char
user
host
char
dir
git
node
)
# DIR
SPACESHIP_CHAR_SYMBOL='⮞ '
SPACESHIP_DIR_PREFIX='' # disable directory prefix, cause it's not the first section
SPACESHIP_DIR_TRUNC='2' # show only last directory
# GIT
SPACESHIP_DIR_TRUNC_REPO=false # While in git repo, show only root directory
# Wrap git in `git:(...)`
SPACESHIP_GIT_PREFIX='('
SPACESHIP_GIT_SUFFIX=") "
SPACESHIP_GIT_SYMBOL="" # disable git symbol
SPACESHIP_GIT_BRANCH_PREFIX="" # disable branch prefix too
SPACESHIP_GIT_BRANCH_SUFFIX=" • " # add bullet to seprate branch name and status
# Unwrap git status from `[...]`
SPACESHIP_GIT_STATUS_PREFIX=""
SPACESHIP_GIT_STATUS_SUFFIX=""
# NODE
SPACESHIP_NODE_PREFIX="("
SPACESHIP_NODE_SUFFIX=") "
stats of the file created, are logged to the terminal
This doesn't look related to spaceship-prompt.
I have a bullet that seprates the branch name and the git status. Is there a way I can make the bullet appear in white.
Yes, You can colourise characters with prompt escapes. Follow similar discussion at #397
SPACESHIP_GIT_BRANCH_SUFFIX="%F{white} • %f"
Most helpful comment
This doesn't look related to
spaceship-prompt.Yes, You can colourise characters with prompt escapes. Follow similar discussion at #397