updated zshrc and notify update time

This commit is contained in:
Thies Lennart Alff 2023-06-22 12:29:09 +02:00
parent 91d372df49
commit 07d2433bf3
3 changed files with 7 additions and 5 deletions

View file

@ -50,7 +50,7 @@ check_for_updates() {
notify() { notify() {
notification=$(echo "$UPDATE_LIST" | column -t -L -o " " | sed 's/->//g') notification=$(echo "$UPDATE_LIST" | column -t -L -o " " | sed 's/->//g')
notify-send -t 0 "Updates" "$notification" notify-send -t 10 "Updates" "$notification"
} }

View file

@ -30,8 +30,8 @@ set visualbell
set encoding=utf-8 set encoding=utf-8
set ttyfast set ttyfast
set background=light " set background=light
colorscheme quietlight " colorscheme quietlight
" always show mode status line " always show mode status line
set laststatus=2 set laststatus=2

View file

@ -5,7 +5,6 @@ prompt pure
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH
#export PATH=$HOME/.platformio/penv/bin:$PATH #export PATH=$HOME/.platformio/penv/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="/home/lennartalff/.oh-my-zsh" export ZSH="/home/lennartalff/.oh-my-zsh"
@ -86,9 +85,12 @@ else
export EDITOR='vim' export EDITOR='vim'
fi fi
export TERM="xterm-256color"
alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf" alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf"
alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf" alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf"
alias zshrc="vim ~/.zshrc" alias zshrc="vim ~/.zshrc"
# kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE alias mount-institut='kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE && mount /TUHH/Institut'
alias mount-lehre='kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE && mount /TUHH/Lehre'