hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc50
1 files changed, 23 insertions, 27 deletions
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