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) azure # azure account name (https://docs.microsoft.com/en-us/cli/azure)
gcloud # google cloud cli acccount and project (https://cloud.google.com/) gcloud # google cloud cli acccount and project (https://cloud.google.com/)
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production) 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/) nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
ranger # ranger shell (https://github.com/ranger/ranger) ranger # ranger shell (https://github.com/ranger/ranger)
nnn # nnn shell (https://github.com/jarun/nnn) nnn # nnn shell (https://github.com/jarun/nnn)
@ -86,9 +86,9 @@
vpn_ip # virtual private network indicator vpn_ip # virtual private network indicator
# ram # free RAM # ram # free RAM
# load # CPU load # 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 # time # current time
public_ip # public IP address # public_ip # public IP address
# proxy # system-wide http/https/ftp proxy # proxy # system-wide http/https/ftp proxy
battery # internal battery battery # internal battery
# example # example user-defined segment (see prompt_example function below) # example # example user-defined segment (see prompt_example function below)
@ -444,7 +444,7 @@
functions -M my_git_formatter 2>/dev/null functions -M my_git_formatter 2>/dev/null
# Disable the default Git status formatting. # 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. # Install our own Git status formatter.
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}' 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}}' 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 # These settings are used for respositories other than Git or when gitstatusd fails and
# Powerlevel10k has to fall back to using vcs_info. # Powerlevel10k has to fall back to using vcs_info.
typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=233 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_FOREGROUND=233
typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=160 typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=160
typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=233 typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=233
@ -548,9 +548,9 @@
#################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]##################
# Ranger shell color. # Ranger shell color.
typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 typeset -g POWERLEVEL9K_RANGER_FOREGROUND=016
# Custom icon. # 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: nnn shell (https://github.com/jarun/nnn) ]#######################
# Nnn shell color. # 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 contabo='ssh hate@164.68.120.85'
alias yv='googler -w youtube.com --url-handler mpv $argv' alias yv='googler -w youtube.com --url-handler mpv $argv'
alias rollback='sudo pacback --snapback' alias rollback='sudo pacback --snapback'
alias p10kup='git -C $ZSH_CUSTOM/themes/powerlevel10k pull'
#Check the weather: #Check the weather:
weath() { curl wttr.in/Hameenlinna ;} 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=( plugins=(
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
history-substring-search zsh-interactive-cd
archlinux archlinux
sudo sudo
tmux tmux

View File

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