diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-09-14 22:26:17 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-09-14 22:26:17 +0200 |
| commit | 0e2d387565cb03c41cef33b9ff01eac5a5cb9132 (patch) | |
| tree | 1bcc8bdf06022ae90874d575040df4cbece28313 /zsh | |
| parent | c3b97dfe6a6a39974f60411761b8ceba48e1876b (diff) | |
update: general changes, read the diff
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/.zprofile | 2 | ||||
| -rw-r--r-- | zsh/.zshenv | 1 | ||||
| -rw-r--r-- | zsh/.zshrc | 19 |
3 files changed, 14 insertions, 8 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile index d8f183c..2a73493 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,2 +1,2 @@ -[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx diff --git a/zsh/.zshenv b/zsh/.zshenv index c80ce3a..9b82ff7 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -5,6 +5,7 @@ export BROWSER="librewolf" export BRIGHTNESS=1 export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/data" export XDG_PICTURES_DIR="$HOME/img" # Following line was automatically added by arttime installer @@ -1,10 +1,8 @@ [ -f "$ZDOTDIR/paliasrc" ] && source "$ZDOTDIR/paliasrc" # Private aliases +[ -f "$ZDOTDIR/epitaliasrc" ] && source "$ZDOTDIR/epitaliasrc" # Private aliases -curl -s $CAL_PERSO | grep -v END:VCALENDAR >/tmp/calendar.ics -curl -s $CAL_SCHOOL | grep -v BEGIN:VCALENDAR >>/tmp/calendar.ics -icstocal /tmp/calendar.ics /tmp/calendar >/dev/null -flashfetch -quand +# quand +cat ~/todo autoload -U colors && colors # Load colors PS1="%B%(?.0.%F{red}%?) %F{blue}%n %F{green}%~ %f$%b " @@ -13,27 +11,34 @@ 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 upd="sudo pacman -Syuu" alias ins="sudo pacman -Syu" alias uins="sudo pacman -Rns" -alias c="clear; quand" +alias c="clear; cat ~/todo" # git + +alias {clone,cloner}="git clone" alias {tirer,tir,poule}="git pull" alias {statut,sta}="git status" alias {ajouter,aj}="git add" alias {atome_de_code,ato}="git commit -m" # voir bitoduc.fr, Commit alias {pousser,pous}="git push" +alias {poussétiquettes,poussE}="git push --follow-tags" alias {difference,ference}="git diff" alias {tronc,tr}="git log" alias {resto,restau}="git restore" +alias {étiquette,etiqu}="git tag" alias bri5="xrandr --output eDP-1 --brightness 0.5" alias bri6="xrandr --output eDP-1 --brightness 0.6" alias ascii="ascii -d" +alias lf="lfub" +alias vmk="v Makefile" alias cf="$HOME/.config/" alias cspt="$HOME/.config/scripts" alias cz="$HOME/.config/zsh" -alias czr="v $ZDOTDIR/.zshrc" +alias czr="v $ZDOTDIR/.zshrc && source $ZDOTDIR/.zshrc" alias cn="$XDG_CONFIG_HOME/nvim" alias rps="echo help | nc ratakor.com 9998" alias v="nvim" |
