57 lines
1.3 KiB
Bash
57 lines
1.3 KiB
Bash
|
export LANG=en_US.UTF-8
|
||
|
export ARCHFLAGS="-arch x86_64"
|
||
|
export PATH="$PATH:$HOME/bin:/usr/local/bin"
|
||
|
export ZSH="/Users/dym/.oh-my-zsh"
|
||
|
export EDITOR="/usr/local/bin/code"
|
||
|
|
||
|
ZSH_THEME="lambda"
|
||
|
CASE_SENSITIVE="false"
|
||
|
DISABLE_LS_COLORS="false"
|
||
|
COMPLETION_WAITING_DOTS="true"
|
||
|
HIST_STAMPS="yyyy-mm-dd"
|
||
|
# HYPHEN_INSENSITIVE="true"
|
||
|
# DISABLE_AUTO_UPDATE="true"
|
||
|
# export UPDATE_ZSH_DAYS=13
|
||
|
# ENABLE_CORRECTION="true"
|
||
|
|
||
|
plugins=( git )
|
||
|
source $ZSH/oh-my-zsh.sh
|
||
|
|
||
|
alias s="$EDITOR"
|
||
|
alias c="$EDITOR"
|
||
|
alias ls="gls -AF --group-directories-first"
|
||
|
alias l="gls -AFhl --group-directories-first"
|
||
|
alias d="gdu -ch --max-depth=1"
|
||
|
alias ggc="git gc --aggressive"
|
||
|
|
||
|
alias i="brew install"
|
||
|
alias un="brew uninstall"
|
||
|
alias rmds="sudo find / -name '.DS_Store' -depth -exec rm {} \;"
|
||
|
alias clean=" \
|
||
|
; sudo dot_clean / \
|
||
|
; brew cleanup \
|
||
|
; rmds \
|
||
|
"
|
||
|
alias gnpm="sudo npm -g --unsafe-perm=true --allow-root"
|
||
|
alias upd=" \
|
||
|
; sudo n latest \
|
||
|
; gnpm up -g \
|
||
|
; gnpm i -g npm \
|
||
|
; brew update \
|
||
|
; brew upgrade \
|
||
|
"
|
||
|
|
||
|
alias purge=" \
|
||
|
; top -l 1 -s 0 | grep PhysMem \
|
||
|
; sudo purge \
|
||
|
; top -l 1 -s 0 | grep PhysMem \
|
||
|
"
|
||
|
|
||
|
alias shipit="sh /Users/dym/cfg/git-push-to-production.sh"
|
||
|
alias bak=" \
|
||
|
; sudo rsync -a --delete \
|
||
|
/Users/dym/ /Volumes/Data/Apps/mac/_home \
|
||
|
; sudo rsync -a --delete \
|
||
|
/Users/dym/ /Volumes/Data_bak/Apps/mac/_home \
|
||
|
"
|