Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Load Nerd Fonts with Powerlevel9k theme for Zsh
- POWERLEVEL9K_MODE='nerdfont-complete'
- source ~/powerlevel9k/powerlevel9k.zsh-theme
- # Customise the Powerlevel9k prompts
- POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir vcs newline status)
- POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
- POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
- # Load Zsh tools for syntax highlighting and autosuggestions
- HOMEBREW_FOLDER="/usr/local/share"
- source "$HOMEBREW_FOLDER/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
- source "$HOMEBREW_FOLDER/zsh-autosuggestions/zsh-autosuggestions.zsh"
- # Colorise the top Tabs of Iterm2 with the same color as background
- # Just change the 18/26/33 wich are the rgb values
- echo -ne "\033]6;1;bg;red;brightness;18\a"
- echo -ne "\033]6;1;bg;green;brightness;26\a"
- echo -ne "\033]6;1;bg;blue;brightness;33\a"
- # Aliases for list commands with colorful output
- alias lsc="colorls"
- alias ls='ls -G'
- # Print a colorful message when the terminal loads using the artii and lolcat Ruby gems (you can change 'Zsh!' to any message you want)
- artii ∫x dx --font slant | lolcat
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement