Last active
April 13, 2020 14:44
-
-
Save Azer0s/f3a7d860bd59c6dbb276aa1a7057ea2e 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
export PATH="/usr/local/opt/llvm/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/llvm/lib" | |
export CPPFLAGS="-I/usr/local/opt/llvm/include" | |
export PATH="/usr/local/opt/ruby/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/ruby/lib" | |
export CPPFLAGS="-I/usr/local/opt/ruby/include" | |
source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
source $HOME/.cargo/env | |
go env -w GOPATH=$HOME/.go | |
export GOPATH=$HOME/.go | |
export PATH=$GOPATH/bin:$PATH | |
export PATH=$HOME/development/flutter/bin:$PATH | |
# alias - general | |
alias cls=clear | |
alias files=mc | |
alias dir=$HOME/.dir | |
# alias - docker | |
alias drma='docker rm $(docker ps -a -q)' # docker remove all; removes all stoped containers | |
# alias - special util | |
alias weather='curl wttr.in' | |
alias google='googler --count 5 --np' | |
alias markdown='mdless -I' | |
# alias - applications | |
alias chrome='open $HOME/../../Applications/Google\ Chrome.app' | |
# alias - lazy* | |
alias lzd=lazydocker | |
alias lzg=lazygit | |
# functions | |
cheat() { curl "cht.sh/$1" } | |
loc() { find . -name "*.$@" | xargs wc -l; } | |
search() { dir=$(fzf --preview 'bat --style=numbers --color=always {} | head -500'); [ ! -z "$dir" ] && code "$dir" || true; } | |
serve() { python3 -m http.server 8000 --bind 127.0.0.1 & sleep 1; open "http://127.0.0.1:8000" && fg } | |
ulimit -n 12288 | |
# ulimit -u 2048 | |
unsetopt PROMPT_SP | |
export PATH="/usr/local/sbin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment