From 2fb0ec3009aae1a1a157d24ce16ef81dc4cc4453 Mon Sep 17 00:00:00 2001 From: marcellus Date: Mon, 24 Apr 2023 18:06:42 +0200 Subject: add: config files for zsh & x --- .zshrc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .zshrc (limited to '.zshrc') diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..2a97460 --- /dev/null +++ b/.zshrc @@ -0,0 +1,33 @@ +# Created by newuser for 5.9 +curl -s https://zeus.ionis-it.com/api/group/428/ics/EOVYjD9jk5 >/tmp/calendar.ics +./icstocal /tmp/calendar.ics /tmp/calendar >/dev/null +flashfetch +quand + + +autoload -U colors && colors # Load colors +PS1="%B%(?.0.%F{red}%?) %F{blue}%n %F{green}%~ %f$%b " + + +alias ls="ls -a --color=auto" +alias shut="sudo openrc-shutdown -p now" +alias shutr="sudo openrc-shutdown -r now" +alias ins="sudo pacman -S" +alias uins="sudo pacman -R" +alias c="clear; quand" + +autoload -U compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +compinit +_comp_options+=(globdots) + +setopt autocd + +autoload -Uz vcs_info +precmd_vcs_info() { vcs_info } +precmd_functions+=( precmd_vcs_info ) +setopt prompt_subst +RPROMPT=\$vcs_info_msg_0_ +zstyle ':vcs_info:git:*' formats '%F{cyan}(%b)%f' +zstyle ':vcs_info:*' enable git -- cgit v1.2.3