diff options
| author | hachem <im@hachem.wtf> | 2026-08-25 10:59:06 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-25 10:59:06 +0200 |
| commit | ed6fb2af238776df4d2b707d0ce99121f0dcc2ca (patch) | |
| tree | fcf9be1181dddd87cb109fa0e582e05c589edc9f /.zshrc | |
| parent | 423b2c2d62064057593e504d79b3f749733c611c (diff) | |
[chore]: update
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 50 |
1 files changed, 23 insertions, 27 deletions
@@ -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 |
