Last active
September 26, 2019 21:29
-
-
Save grandmanitou/95b3e11656b17fc1f8c2f2e5a20fa021 to your computer and use it in GitHub Desktop.
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
# mac book pro | |
export PATH=$HOME/.composer/vendor/bin:$PATH | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
source ~/powerlevel9k/powerlevel9k.zsh-theme | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir vcs newline status) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shel$ | |
alias ls='ls -lahG' | |
alias mycli='mycli -u root -S /tmp/mysql.sock' | |
export EDITOR='sublime -w' |
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
# imac | |
#Composer Setup | |
# export PATH="$HOME/.config/composer/vendor/bin" | |
export PATH=$HOME/.composer/vendor/bin:$PATH | |
# PHP Setup | |
export PATH="/usr/local/opt/[email protected]/bin:$PATH" | |
export PATH="/usr/local/opt/[email protected]/sbin:$PATH" | |
# Editor setup | |
export EDITOR=nano | |
export VISUAL="$EDITOR" | |
#export PS1="¯\_(ツ)_/¯ > " | |
# 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 | |
# Some custom aliases to make life easier | |
alias ls='ls -lahG' | |
alias mycli='mycli -u root -S /tmp/mysql.sock' | |
alias ccc='bin/cake cache clear_all && bin/cake orm_cache clear' | |
# Load Zsh tools for syntax highlighting and autosuggestions | |
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
export PATH="/usr/local/sbin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment