Search
❯
October 27, 20241 min read
HOSTNAME=$(hostname) setopt autocd autoload -Uz vcs_info zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' formats "%F{010}(%b)%f " precmd() { vcs_info } setopt prompt_subst export PS1='%/@${HOSTNAME} ${vcs_info_msg_0_} ~ ' export PS2='> ' mkcd() { NEW_DIR=$1 mkdir $NEW_DIR; cd $NEW_DIR; } vz() { vim ~/.zshrc } sz() { source ~/.zshrc } alias python=python3 alias pip=pip3 export PATH="$HOME/bin:$PATH"