Created
February 15, 2024 22:36
-
-
Save diegolikescode/53f2c72664bc50b813653a89e566b110 to your computer and use it in GitHub Desktop.
my .zshrc
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="$HOME/.oh-my-zsh" | |
| ZSH_THEME="spaceship" | |
| plugins=(git) | |
| alias intellij="/opt/idea-community/bin/idea.sh" | |
| alias nvim="~/installs/nvim-linux64/bin/nvim" | |
| alias gatling="/home/camel/gatling/3.10.3/bin/gatling.sh" | |
| # USELESS ALIAS | |
| # alias gatling="~/installs/gatling-charts-highcharts-bundle-3.9.5/bin/gatling.sh" # USELESS?? | |
| # alias btc-scrapper="previous_path=`pwd` && cd ~/src/scrapper-btc && python3 main.py & && cd $previous_path" | |
| 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 | |
| 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 github_diego { | |
| git config --global user.name "diegolikescode" | |
| git config --global user.email "[email protected]" | |
| } | |
| # >>> conda initialize >>> | |
| # !! Contents within this block are managed by 'conda init' !! | |
| __conda_setup="$('/home/camel/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" | |
| if [ $? -eq 0 ]; then | |
| eval "$__conda_setup" | |
| else | |
| if [ -f "/home/camel/anaconda3/etc/profile.d/conda.sh" ]; then | |
| . "/home/camel/anaconda3/etc/profile.d/conda.sh" | |
| else | |
| export PATH="/home/camel/anaconda3/bin:$PATH" | |
| fi | |
| fi | |
| unset __conda_setup | |
| # <<< conda initialize <<< | |
| export PATH=$PATH:/usr/local/go/bin | |
| eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
| export SDKMAN_DIR="$HOME/.sdkman" | |
| [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" | |
| source $ZSH/oh-my-zsh.sh | |
| source /home/camel/installs/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
| source /home/camel/.zsh/zsh-autosuggestions.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment