Last active
September 30, 2024 09:52
-
-
Save airtonzanon/73628b78920caa17ada5b0d30cb0e031 to your computer and use it in GitHub Desktop.
my zsh file
This file contains hidden or 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
export ZSH="/Users/airtonzanon/.oh-my-zsh" | |
ZSH_THEME="robbyrussell" | |
plugins=(git zsh-autosuggestions zsh-wakatime) | |
source $ZSH/oh-my-zsh.sh | |
alias vim="nvim" | |
alias projects="cd ~/Documents/projects" | |
alias gst='git status' | |
alias goh='git fetch --prune && git rebase origin/master' | |
alias mgoh='git fetch --prune && git rebase origin/main' | |
alias gaas="git add . && git commit --amend --no-edit && git push origin HEAD --force-with-lease" | |
alias composer-install="docker run -it -v \$PWD:/app composer install" | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH" | |
export PATH="/opt/homebrew/opt/util-linux/sbin:$PATH" | |
export PROMPT='%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k $(git_prompt_info)%{$fg_bold[blue]%} ❯ %{$reset_color%}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment