diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-04-24 18:06:42 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-04-24 18:06:42 +0200 |
| commit | 2fb0ec3009aae1a1a157d24ce16ef81dc4cc4453 (patch) | |
| tree | d015e61e66042dcf1e30b4160229fc5d55426071 | |
| parent | 71c18f5d5da18862eea8b68f114772e68bdbbbc5 (diff) | |
add: config files for zsh & x
| -rw-r--r-- | .xinitrc | 5 | ||||
| -rw-r--r-- | .zprofile | 2 | ||||
| -rw-r--r-- | .zshenv | 1 | ||||
| -rw-r--r-- | .zshrc | 33 |
4 files changed, 41 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..40b53a6 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,5 @@ +setxkbmap fr +./randwp +sxhkd & +dwmblocks & +exec dwm diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..d8f183c --- /dev/null +++ b/.zprofile @@ -0,0 +1,2 @@ + +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx @@ -0,0 +1 @@ +TERMINAL="st" @@ -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 |
