-
-
Save cesarLDsousa/741c9002f0ca2ca7240e9eaa78df284d to your computer and use it in GitHub Desktop.
my .zshrc
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
export PATH=$HOME/.config/composer/vendor/bin:$PATH | |
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="spaceship" | |
plugins=(git) | |
alias mynvim='cd ~/.config/nvim/lua/user/ && nvim' | |
alias gc-github='git-config --github' | |
alias gc-bitbucket='git-config --bitbucket' | |
SPACESHIP_PROMPT_ORDER=( | |
# user # Username section | |
dir # Current directory section | |
host # Hostname section | |
git # Git section (git_branch + git_status) | |
hg # Mercurial section (hg_branch + hg_status) | |
exec_time # Execution time | |
line_sep # Line break | |
# vi_mode # Vi-mode indicator | |
jobs # Background jobs indicator | |
exit_code # Exit code section | |
char # Prompt character | |
) | |
SPACESHIP_USER_SHOW=always | |
SPACESHIP_PROMPT_ADD_NEWLINE=true | |
SPACESHIP_CHAR_SYMBOL="❯" | |
SPACESHIP_CHAR_SUFFIX=" " | |
function git_config { | |
git config --global user.name "cesarLDsousa" | |
git config --global user.email "[email protected]" | |
} | |
source $ZSH/oh-my-zsh.sh | |
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
source ~/.zsh/config/git.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment