summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2025-07-03 17:20:02 +0200
committermarcellus <msimon_fr@hotmail.com>2025-07-03 17:20:02 +0200
commitd55e32e79a6b1280952eec4b108c9a47e1fad514 (patch)
tree699ae85d853e042f00e7e8873426d9d657de5d85 /zsh/.zshrc
parente16918bc16c392abc303eb20a8a28545b599bfc1 (diff)
update
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc12
1 files changed, 9 insertions, 3 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 1a50658..91d4976 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,3 +1,4 @@
+source "$ZDOTDIR/.zshenv"
autoload -U colors && colors # Load colors
# SPATH=$(pwd | sed 's/\/home\/marcellus/~/' | sed 's/[^\/]*\/[^\/]*\/[^\/]*\/[^\/]*/~\/.../')
PS1=$(echo "%B%F{214}Martial %F{209}%~ %f%F{45} %f%b " | sed 's/[^\/]*\/[^\/]*\/[^\/]*\/[^\/]*/~\/.../' -E)
@@ -33,6 +34,7 @@ alias tronc="git log"
alias {resto,restau}="git restore"
alias {étiquette,etiqu}="git tag"
alias branche="git branch"
+alias chieng="git adog"
alias bri5="xrandr --output eDP-1 --brightness 0.5"
alias bri6="xrandr --output eDP-1 --brightness 0.6"
@@ -45,10 +47,10 @@ alias cf="$HOME/.config/"
alias cspt="$HOME/.config/scripts"
alias cz="$HOME/.config/zsh"
alias czr="v $ZDOTDIR/.zshrc && source $ZDOTDIR/.zshrc"
-alias cn="$XDG_CONFIG_HOME/nvim"
-alias dl="$HOME/Downloads"
+alias cn="$XDG_CONFIG_HOME/vim"
+alias dl="$HOME/Téléchargements"
alias rps="echo help | nc ratakor.com 9998"
-alias v="nvim"
+alias v="vim"
alias cdmnt="sudo mount -t iso9660 -o ro /dev/sr0 $HOME/cdrom"
alias py="python3"
alias wtr="curl wttr.in/Lyon"
@@ -58,6 +60,8 @@ alias sss="ssh root@marcellus.cc"
alias ssg="ssh git@marcellus.cc"
alias mpv="xset -dpms && xset s off && mpv"
alias doc="~/Documents"
+alias ing="cd $HOME/epita/ING1"
+alias pdf=zathura
autoload -U compinit
zstyle ':completion:*' menu select
@@ -75,6 +79,8 @@ setopt prompt_subst
zstyle ':vcs_info:git:*' formats '%F{cyan}(%b)%f'
zstyle ':vcs_info:*' enable git
+bindkey -e
+
qc(){
cc "$1" && ./a.out
}