Created
June 20, 2021 02:28
-
-
Save benjaminbrassart/44a4e588288c93e2a662bd538b48e346 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -Uz compinit | |
compinit | |
autoload -Uz vcs_info | |
precmd() { | |
vcs_info | |
} | |
PROMPT_COLOUR=#114dd8 | |
BRANCH_COLOUR=#11b0d8 | |
setopt PROMPT_SUBST | |
zstyle ':vcs_info:git:*' formats '%F{$BRANCH_COLOUR}(%b) ' | |
export PROMPT='%K{%(?:#1bd811:#d81111)} %k %F{$PROMPT_COLOUR}%~ ${vcs_info_msg_0_}%f' | |
export RPROMPT='$(date +"%T")' | |
alias ls='ls --color=auto' | |
alias grep='grep --color=auto' | |
alias egrep='egrep --color=auto' | |
bindkey "^[[1;5C" forward-word | |
bindkey "^[[1;5D" backward-word | |
export USER="bbrassar" | |
export MAIL="$USER@student.42.fr" | |
export PATH="/usr/local/bin:/usr/bin:/bin:$HOME/.local/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment