tweaking....

This commit is contained in:
Harri Lahtinen 2020-02-22 12:01:12 +02:00
parent 108f160820
commit 5401b0f06a
5 changed files with 20 additions and 17 deletions

View File

@ -76,7 +76,7 @@
azure # azure account name (https://docs.microsoft.com/en-us/cli/azure)
gcloud # google cloud cli acccount and project (https://cloud.google.com/)
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production)
context # user@hostname
#context # user@hostname
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
ranger # ranger shell (https://github.com/ranger/ranger)
nnn # nnn shell (https://github.com/jarun/nnn)
@ -86,9 +86,9 @@
vpn_ip # virtual private network indicator
# ram # free RAM
# load # CPU load
todo # todo items (https://github.com/todotxt/todo.txt-cli)
# todo # todo items (https://github.com/todotxt/todo.txt-cli)
# time # current time
public_ip # public IP address
# public_ip # public IP address
# proxy # system-wide http/https/ftp proxy
battery # internal battery
# example # example user-defined segment (see prompt_example function below)
@ -444,7 +444,7 @@
functions -M my_git_formatter 2>/dev/null
# Disable the default Git status formatting.
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=false
# Install our own Git status formatter.
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}'
typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION='${$((my_git_formatter(0)))+${my_git_format}}'
@ -467,7 +467,7 @@
# These settings are used for respositories other than Git or when gitstatusd fails and
# Powerlevel10k has to fall back to using vcs_info.
typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=233
typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=002
typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=108
typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=233
typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=160
typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=233
@ -548,9 +548,9 @@
#################[ ranger: ranger shell (https://github.com/ranger/ranger) ]##################
# Ranger shell color.
typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178
typeset -g POWERLEVEL9K_RANGER_FOREGROUND=016
# Custom icon.
# typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐'
typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION=' '
######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]#######################
# Nnn shell color.

View File

@ -18,6 +18,7 @@ alias blist='borg list ssh://borg@alpine0.home.hartzan.com:2222/backup/xps'
alias contabo='ssh hate@164.68.120.85'
alias yv='googler -w youtube.com --url-handler mpv $argv'
alias rollback='sudo pacback --snapback'
alias p10kup='git -C $ZSH_CUSTOM/themes/powerlevel10k pull'
#Check the weather:
weath() { curl wttr.in/Hameenlinna ;}

2
.zshrc
View File

@ -68,7 +68,7 @@ setopt always_to_end # move cursor to end if word had one match
plugins=(
zsh-autosuggestions
zsh-syntax-highlighting
history-substring-search
zsh-interactive-cd
archlinux
sudo
tmux

View File

@ -54,6 +54,7 @@ htop
inetutils
intel-media-driver
intel-ucode
intltool
iproute2
iputils
iwd
@ -108,6 +109,7 @@ pavucontrol
pciutils
pcmanfm-gtk3
perl
perl-xml-parser
pkgconf
polkit-gnome
powertop