Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh-shell
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nik | Klampfradler
vcsh-shell
Commits
1418da59
Verified
Commit
1418da59
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Make powerlevel9k config more conditional.
parent
b8de443d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.zshrc
+13
-9
13 additions, 9 deletions
.zshrc
with
13 additions
and
9 deletions
.zshrc
+
13
−
9
View file @
1418da59
...
@@ -37,15 +37,19 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
...
@@ -37,15 +37,19 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle
':completion:*:kill:*'
command
'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
zstyle
':completion:*:kill:*'
command
'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# zsh-theme-powerlevel9k
# zsh-theme-powerlevel9k
POWERLEVEL9K_MODE
=
'awesome-fontconfig'
if
[[
-e
/usr/share/powerlevel9k/powerlevel9k.zsh-theme
]]
;
then
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
=(
os_icon
history
status root_indicator context
dir
vcs virtualenv
)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
=(
os_icon
history
status root_indicator context
dir
vcs virtualenv
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
=(
background_jobs
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
=(
background_jobs
)
POWERLEVEL9K_DIR_SHOW_WRITABLE
=
true
POWERLEVEL9K_DIR_SHOW_WRITABLE
=
true
POWERLEVEL9K_STATUS_OK
=
false
POWERLEVEL9K_STATUS_OK
=
false
DEFAULT_USER
=
nik
DEFAULT_USER
=
nik
VIRTUAL_ENV_DISABLE_PROMPT
=
1
VIRTUAL_ENV_DISABLE_PROMPT
=
1
[[
-e
/home/nik/.fonts/
*
.sh
]]
&&
source
~/.fonts/
*
.sh
if
[[
-e
~/.config/fontconfig/conf.d/10-symbols.conf
]]
;
then
[[
-e
/usr/share/powerlevel9k/powerlevel9k.zsh-theme
]]
&&
source
/usr/share/powerlevel9k/powerlevel9k.zsh-theme
POWERLEVEL9K_MODE
=
'awesome-fontconfig'
[[
-e
/home/nik/.fonts/
*
.sh
]]
&&
source
~/.fonts/
*
.sh
fi
source
/usr/share/powerlevel9k/powerlevel9k.zsh-theme
fi
# Aliases
# Aliases
[[
-e
~/.bash_aliases
]]
&&
source
~/.bash_aliases
[[
-e
~/.bash_aliases
]]
&&
source
~/.bash_aliases
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment