From ed6fb2af238776df4d2b707d0ce99121f0dcc2ca Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 25 Aug 2026 10:59:06 +0200 Subject: [chore]: update --- .zshrc | 52 ++++++++++++++++++++++++---------------------------- 1 file changed, 24 insertions(+), 28 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 0003797..0f68065 100644 --- a/.zshrc +++ b/.zshrc @@ -1,34 +1,30 @@ -export ZSH="$HOME/.config/oh-my-zsh" -export ZSH_THEME="mh" -export ZSH_COMPDUMP="${ZDOTDIR:-${ZSH}}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}" +export BUN_INSTALL="$HOME/.bun" +export HOMEBREW_NO_ENV_HINTS=1 -HISTFILE="$HOME/.cache/zsh_history" -export PAGER=nvimpager +export PATH="$BUN_INSTALL/bin:$PATH" +export PATH="/Users/hachem/Library/Python/3.9/bin:$PATH" +export PATH="/Users/hachem/.local/bin:$PATH" +export PATH="/opt/metasploit-framework/bin:$PATH" -plugins=(git) +alias ls='exa --color=auto --classify --group-directories-first' +alias ll='exa -la --color=auto --classify' +alias la='exa -a --color=auto --classify' +alias l='exa -l --color=auto --classify' -fonction FontTest() -{ - echo -e "\e[1mbold\e[0m" - echo -e "\e[3mitalic\e[0m" - echo -e "\e[3m\e[1mbold italic\e[0m" - echo -e "\e[4munderline\e[0m" - echo -e "\e[9mstrikethrough\e[0m" -} - -source $ZSH/oh-my-zsh.sh - -alias dev="cd $HOME/.h/Dev" -alias devel="cd $HOME/.h/Devel" +alias grep='rg' +alias fgrep='rg -F' +alias egrep='rg -E' alias vi="nvim" -alias vim="nvim" -alias nvi="nvim" - -alias ls="lsd --icon=never" -alias cat="bat" - -alias open="xdg-open" - -. $HOME/.cargo/env +export PS1='%n@%m %1~ %% ' +source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +[ -f "/Users/hachem/.ghcup/env" ] && . "/Users/hachem/.ghcup/env" # ghcup-env +# BEGIN opam configuration +# This is useful if you're using opam as it adds: +# - the correct directories to the PATH +# - auto-completion for the opam binary +# This section can be safely removed at any time if needed. +[[ ! -r '/Users/hachem/.opam/opam-init/init.zsh' ]] || source '/Users/hachem/.opam/opam-init/init.zsh' > /dev/null 2> /dev/null +# END opam configuration -- cgit v1.3