Last active
September 26, 2015 08:48
-
-
Save arkjun/1071340 to your computer and use it in GitHub Desktop.
Mac profile
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
#rkJun's MacBook Pro with Retina display .profile | |
export EDITOR=vim | |
#export PATH=$PATH: | |
# GREP coloring | |
export GREP_OPTIONS='--color=auto' | |
export GREP='1;33' | |
#enables vi control in console | |
set -o vi | |
PS1='\e[36m\w \e[32mrkJun\e[0;0m$ ' | |
# Aliases frequently used.. | |
alias ..='cd ..;l' | |
alias cd..='cd ..' | |
alias quit='exit' | |
alias q='quit' | |
alias v='vim' | |
alias rehash='. ~/.profile;' | |
alias pg='ps -afe|grep -v grep|grep' | |
alias ll='ls -al' | |
alias l='ls -G' | |
alias finder='open -a Finder .' | |
alias dir='ls' | |
#git alias | |
alias gs='git status' | |
alias gc='git commit' | |
alias gpush='git push' | |
alias gadd='git add' | |
alias gall='git add .' | |
#remove recently File list | |
alias rm_mpl_list='rm /Users/rkjun/Library/Preferences/org.niltsh.MPlayerX.LSSharedFileList.plist' | |
alias rm_gompl_list='rm /Users/rkjun/Library/Preferences/com.gretech.gom.LSSharedFileList.plist' | |
# 숨겨진 파일보기 명령 | |
alias showall='defaults write com.apple.finder AppleShowAllFiles -bool true;killall Finder' | |
# 숨겨진 파일숨기기 명령 (초기상태) | |
alias hideall='defaults write com.apple.finder AppleShowAllFiles -bool false;killall Finder' | |
#simple http server | |
alias simplesv='python -m SimpleHTTPServer' | |
#now start sulbl new | |
alias e="subl -n ." | |
#.DS_Store file removeAll | |
alias removeDSStore="sudo find / -type f -name '\.DS_Store' -print -delete" | |
#complress Volume-rkJunOnly | |
alias compMyImg="hdiutil compact /Users/rkJun/Documents/rkJunOnly.sparsebundle" | |
#Connect Tidesquare_testzone Dev Server (WAS/WEB) | |
alias ssh_ts_root='ssh [email protected]' | |
#remove extenal hdd's hidden files | |
alias rm_hdn_all="cd /Volumes/Leto_1TB && find ./ -name ._\* -exec rm {} \; && find ./ -name .DS_Store -exec rm {} \; && find ./ -name .\* && cd -" | |
alais eject_hdn="hdiutil eject /dev/disk1s1" | |
# Dashboard snow reopard version | |
## defaults write com.apple.dashboard devmode yes | |
## defaults write com.apple.dashboard devmode no # Lion or higher | |
# Mission Control 2x fast | |
##defaults write com.apple.dock expose-animation-duration -float 0.15;killall Dock | |
# Mission Control Max Speed | |
##defaults write com.apple.dock expose-animation-duration -float 0;killall Dock | |
# original | |
##defaults delete com.apple.dock expose-animation-duration;killall Dock | |
# 4 finger Recently Desktop Jump | |
##defaults write com.apple.dock double-tap-jump-back -bool TRUE;killall Dock | |
# original restore | |
##defaults delete com.apple.dock double-tap-jump-back;killall Dock | |
#Quick Loock TextSelection True | |
##defaults write com.apple.finder QLEnableTextSelection -bool TRUE;killall Finder | |
#Restore | |
##defaults delete com.apple.finder QLEnableTextSelection;killall Finder | |
#dashboard disabled | |
#defaults write com.apple.dashboard mcx-disabled -boolean YES;killall Dock | |
#NOT generate .DS_Store file in AFP or Network | |
#defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
#CMD+H Hidden but, visibled in Dock | |
#defaults write com.apple.Dock showhidden -bool YES && killall Dock | |
#defaults delete com.apple.Dock showhidden && killall Dock | |
#finder PathBarTootAtHome | |
#defaults write com.apple.finder PathBarRootAtHome -bool yes;killall Finder | |
#defaults delete com.apple.finder PathBarRootAtHome;killall Finder | |
#faster mission control | |
#defaults write com.apple.dock expose-animation-duration -float 0.15;killall Dock | |
#defaults delete com.apple.dock expose-animation-duration;killall Dock | |
#dark menu in full screen | |
#defaults write -g NSFullScreenDarkMenu -bool TRUE | |
#defaults delete -g NSFullScreenDarkMenu #original | |
PATH=$PATH:/usr/local/bin:/usr/local/sbin | |
source `brew --repository`/Library/Contributions/brew_bash_completion.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment