Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. # Load Nerd Fonts with Powerlevel9k theme for Zsh
  2. POWERLEVEL9K_MODE='nerdfont-complete'
  3. source ~/powerlevel9k/powerlevel9k.zsh-theme
  4. # Customise the Powerlevel9k prompts
  5. POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir vcs newline status)
  6. POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
  7. POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
  8. # Load Zsh tools for syntax highlighting and autosuggestions
  9. HOMEBREW_FOLDER="/usr/local/share"
  10. source "$HOMEBREW_FOLDER/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
  11. source "$HOMEBREW_FOLDER/zsh-autosuggestions/zsh-autosuggestions.zsh"
  12. # Colorise the top Tabs of Iterm2 with the same color as background
  13. # Just change the 18/26/33 wich are the rgb values
  14. echo -ne "\033]6;1;bg;red;brightness;18\a"
  15. echo -ne "\033]6;1;bg;green;brightness;26\a"
  16. echo -ne "\033]6;1;bg;blue;brightness;33\a"
  17. # Aliases for list commands with colorful output
  18. alias lsc="colorls"
  19. alias ls='ls -G'
  20.  
  21. # Print a colorful message when the terminal loads using the artii and lolcat Ruby gems (you can change 'Zsh!' to any message you want)
  22. artii ∫x dx --font slant | lolcat
  23.  
  24. export NVM_DIR="$HOME/.nvm"
  25. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
  26. [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement