This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.py
43 lines (32 loc) · 1.42 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This is the configuration file which helps you customize your 'promptastic' installation.
# For instructions on how to use the promptastic.py script, see the README.
# Patched fonts are special fonts best suited for terminals
# True if the current terminal is using patched fonts (available at:
# https://github.com/Lokaltog/powerline-fonts).
PATCHED_FONTS = True
# The theme defines the colors used to draw individual segments.
# Themes are collected in the `themes` directory. Their names match their file name (w/o the file
# extension .py).
THEME = 'default'
# Segments are the single elements which compose the Bash shell prompt.
# Enable or disable these segments to customize what you see on the shell prompt.
SEGMENTS = {
# Current user's username plus @ plus machine's hostname.
'userathost': True,
# SSH tag when ssh-ing from another machine.
'ssh': True,
# Current directory path.
'currentdir': True,
# A padlock if the current user has read-only permissions on the current directory.
'readonly': True,
# A cross if the last command exited with a non-zero exit code.
'exitcode': True,
# Current git branch and status when the current directory is part of a git repo.
'git': True,
# Name of the current virtual environment (see http://www.virtualenv.org/), if any.
'venv': True,
# Number of running jobs, if any.
'jobs': True,
# Current time.
'time': True,
}